- 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