Merge "make selinux check only for rhel distribution"
This commit is contained in:
commit
d3c563e3ba
|
@ -4,6 +4,8 @@
|
|||
become: true
|
||||
register: sestatus
|
||||
changed_when: false
|
||||
when:
|
||||
- "ansible_os_family == 'RedHat'"
|
||||
|
||||
- name: Fail if SELinux is not in Enforced mode (RHEL)
|
||||
fail:
|
||||
|
|
Loading…
Reference in New Issue