mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-04-12 05:29:28 -02:30
Fix: ansible_facts.selinux.status added. (#12861)
This commit is contained in:
@@ -88,6 +88,7 @@
|
|||||||
when:
|
when:
|
||||||
- ntp_timezone
|
- ntp_timezone
|
||||||
- ansible_os_family == "RedHat"
|
- ansible_os_family == "RedHat"
|
||||||
|
- ansible_facts.selinux.status == 'enabled'
|
||||||
- ansible_facts.selinux.mode == 'enforcing'
|
- ansible_facts.selinux.mode == 'enforcing'
|
||||||
|
|
||||||
- name: Set ntp_timezone
|
- name: Set ntp_timezone
|
||||||
|
|||||||
Reference in New Issue
Block a user