From 68ad649a208c6f8536bfede2ce0ae647d4e3d2b4 Mon Sep 17 00:00:00 2001 From: Matthieu Saulnier Date: Mon, 27 Feb 2017 23:31:52 +0100 Subject: remove obsolete stuff, fix roles errors and update dns role --- roles/common/tasks/selinux.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'roles/common/tasks/selinux.yml') diff --git a/roles/common/tasks/selinux.yml b/roles/common/tasks/selinux.yml index 7f5f9cd..a206e0d 100644 --- a/roles/common/tasks/selinux.yml +++ b/roles/common/tasks/selinux.yml @@ -1,3 +1,10 @@ - name: Activation de SELinux selinux: policy=targeted state=enforcing - when: ansible_distribution == "Fedora" + +- name: Rapport SELinux + copy: src=eaureport.sh dest=/etc/cron.daily/eaureport.sh mode=755 + 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 != "disabled" -- cgit