diff options
author | Matthieu Saulnier <fantom@fedoraproject.org> | 2015-10-13 15:02:16 +0200 |
---|---|---|
committer | Matthieu Saulnier <fantom@fedoraproject.org> | 2015-10-13 15:02:16 +0200 |
commit | 66293e20bd06723887b3217a91324e154f2792f9 (patch) | |
tree | 1c084a2463902e1b1b5538dfbc3ac1e5ba1672b6 /roles/common/tasks/aide.yml | |
parent | 765368bb7c07dbf6b510bdfb6210fcfe4ba9d489 (diff) | |
download | playbooks-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.yml | 5 |
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 |