diff options
author | Matthieu Saulnier <fantom@fedoraproject.org> | 2017-02-27 23:31:52 +0100 |
---|---|---|
committer | Matthieu Saulnier <fantom@fedoraproject.org> | 2017-02-27 23:31:52 +0100 |
commit | 68ad649a208c6f8536bfede2ce0ae647d4e3d2b4 (patch) | |
tree | 163fde64aa1c9716a39074c35ceeaf32b3f8fa17 /roles/common/tasks/selinux.yml | |
parent | 66293e20bd06723887b3217a91324e154f2792f9 (diff) | |
download | playbooks-ansible-68ad649a208c6f8536bfede2ce0ae647d4e3d2b4.tar.gz playbooks-ansible-68ad649a208c6f8536bfede2ce0ae647d4e3d2b4.tar.xz playbooks-ansible-68ad649a208c6f8536bfede2ce0ae647d4e3d2b4.zip |
remove obsolete stuff, fix roles errors and update dns role
Diffstat (limited to 'roles/common/tasks/selinux.yml')
-rw-r--r-- | roles/common/tasks/selinux.yml | 9 |
1 files changed, 8 insertions, 1 deletions
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" |