I have two tasks in a playbook as follows:
- name: RHELFAM | Set SELinux to permissive
selinux: policy=targeted state=permissive
tags: secmods
- name: RHELFAM | Disable SELinux in conf file
selinux: state=disabled
tags: secmods
Each time they run, even if the target machine is in the desired state, the task returns "changed"... Why would that be?
Thanks,