Skip to content

Commit 2aedcd6

Browse files
committed
adding conditional check that selinux is installed
1 parent 860b8dd commit 2aedcd6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tasks/prerequisites/setup-centos.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
- name: Disable SELinux
99
selinux:
1010
state: disabled
11+
when: "'selinux' in ansible_facts.packages"

0 commit comments

Comments
 (0)