summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/selinux.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/common/tasks/selinux.yml')
-rw-r--r--roles/common/tasks/selinux.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/common/tasks/selinux.yml b/roles/common/tasks/selinux.yml
index 0f55f88..ccd7140 100644
--- a/roles/common/tasks/selinux.yml
+++ b/roles/common/tasks/selinux.yml
@@ -1,7 +1,7 @@
- name: Rapport SELinux
copy: src=eaureport.sh dest=/etc/cron.daily/eaureport.sh mode=755
- when: ansible_selinux.status == "enabled"
+ when: ansible_selinux.status != "disabled"
- name: Relabel système de fichier
copy: src=selinuxresto.sh dest=/etc/cron.monthly/selinuxresto.sh mode=755
- when: ansible_selinux.status == "enabled"
+ when: ansible_selinux.status != "disabled"