Fix ansible error when making selinux permissive
This fixes the following error caused by the parent commit[1].
{
"msg": "Policy is required if state is not 'disabled'"
}
[1] 952ae0e3f1
Related-Bug: #1927210
Change-Id: I272f0cc5c2e35752b44111425ed2f676376f26f4
This commit is contained in:
parent
952ae0e3f1
commit
e7d7ba5c8f
|
@ -26,6 +26,7 @@
|
|||
- block:
|
||||
- name: Disable selinux (CentOS/RHEL<=7) (bug/1927210)
|
||||
selinux:
|
||||
policy: targeted
|
||||
state: permissive
|
||||
when:
|
||||
- ansible_os_family == 'RedHat'
|
||||
|
|
Loading…
Reference in New Issue