CentOS: Disable SELinux in litmus jobs
Similarly to integration jobs, this change disables SELinux in litmus job, to avoid direct failure caused by selinux denials. Denials can be reviewed by audit.log captured as part of logs. Change-Id: I4e1a41b62c0597e0f63793c35e00fda195d4f761
This commit is contained in:
parent
61a594465f
commit
69adc6a870
@ -1,5 +1,12 @@
|
||||
- hosts: all
|
||||
tasks:
|
||||
- name: Put SELinux in permissive mode
|
||||
shell:
|
||||
selinuxenabled && setenforce 0
|
||||
become: yes
|
||||
when:
|
||||
- ansible_os_family == 'RedHat'
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
set -e
|
||||
|
Loading…
x
Reference in New Issue
Block a user