summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks/aide.yml
blob: f14da74537b2edc4b5a412217d0a8c3ef53d2ed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
- name: Installation du HIDS AIDE
  yum: name=aide state=present
  when: ansible_pkg_mgr == "yum"

- name: Installation du HIDS AIDE
  dnf: name=aide state=present
  when: ansible_pkg_mgr == "dnf"

- name: Activation Cron du HIDS AIDE
  copy: src=aidereport.sh dest=/etc/cron.daily/z-aidereport.sh mode=755
  when: ansible_virtualization_role == "NA" or ansible_virtualization_role == "host"
  notify: initialize aide