summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/aide.yml
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2015-10-13 15:02:16 +0200
committerMatthieu Saulnier <fantom@fedoraproject.org>2015-10-13 15:02:16 +0200
commit66293e20bd06723887b3217a91324e154f2792f9 (patch)
tree1c084a2463902e1b1b5538dfbc3ac1e5ba1672b6 /roles/common/tasks/aide.yml
parent765368bb7c07dbf6b510bdfb6210fcfe4ba9d489 (diff)
downloadplaybooks-ansible-66293e20bd06723887b3217a91324e154f2792f9.tar.gz
playbooks-ansible-66293e20bd06723887b3217a91324e154f2792f9.tar.xz
playbooks-ansible-66293e20bd06723887b3217a91324e154f2792f9.zip
Enhancement update part 2
Diffstat (limited to 'roles/common/tasks/aide.yml')
-rw-r--r--roles/common/tasks/aide.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/common/tasks/aide.yml b/roles/common/tasks/aide.yml
index 2ed2774..919a3a7 100644
--- a/roles/common/tasks/aide.yml
+++ b/roles/common/tasks/aide.yml
@@ -1,5 +1,10 @@
- name: Installation du HIDS AIDE
yum: name=aide state=present
+ when: ansible_distribution == "CentOS"
+
+- name: Installation du HIDS AIDE
+ dnf: name=aide state=present
+ when: ansible_distribution == "Fedora" and ansible_distribution_version|int >= 22
- name: Activation Cron du HIDS AIDE
copy: src=aidereport.sh dest=/etc/cron.daily/z-aidereport.sh mode=755