Thanks Kai, hadn't thought about using the attr_flags field - I'll give it
a shot when I get back to that issue.
Dan
On Sat, Jul 22, 2017 at 9:34 AM, Kai Stian Olstad <
ansible-project+l...@olstad.com> wrote:
> On 21.07.2017 17:34, Dan Linder wrote:
>
>> I setup a playbook with this play:
>>
>>
On 21.07.2017 17:34, Dan Linder wrote:
I setup a playbook with this play:
- name: "Remove immutable flag"
file:
path: /etc/security/access.conf
attributes: "-i"
The documentation isn't clear on what "attributes" can be but the file
module call chattr with the "=" precursor before the
I've got a set of systems that have a configuration file with the
"immutable" flag set on them by a previous setup process. The "lsattr
/etc/security/access.conf" on a RHEL 6 system shows the "i" flag set.
Manually doing a "chattr -i /etc/security/access.conf" removes the flag,
but I'd like t