summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/aide.yml
diff options
context:
space:
mode:
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