diff options
Diffstat (limited to 'roles/diagnostics')
-rw-r--r-- | roles/diagnostics/tasks/aide.yml | 5 | ||||
-rw-r--r-- | roles/diagnostics/tasks/cron.yml | 29 | ||||
-rw-r--r-- | roles/diagnostics/tasks/main.yml | 6 | ||||
-rw-r--r-- | roles/diagnostics/tasks/rkhunter.yml | 7 | ||||
-rw-r--r-- | roles/diagnostics/tasks/selinux.yml | 10 |
5 files changed, 0 insertions, 57 deletions
diff --git a/roles/diagnostics/tasks/aide.yml b/roles/diagnostics/tasks/aide.yml index 2255110..e4e9aa9 100644 --- a/roles/diagnostics/tasks/aide.yml +++ b/roles/diagnostics/tasks/aide.yml @@ -3,11 +3,6 @@ name: aide state: present -- name: Suppresion du crontask - file: - path: /etc/cron.daily/z-aidereport.sh - state: absent - - name: Activation du HIDS AIDE copy: src: aidereport.sh diff --git a/roles/diagnostics/tasks/cron.yml b/roles/diagnostics/tasks/cron.yml deleted file mode 100644 index 5caaacd..0000000 --- a/roles/diagnostics/tasks/cron.yml +++ /dev/null @@ -1,29 +0,0 @@ -- name: Rapport disques durs - file: - path: /etc/cron.daily/diskreport.sh - state: absent - when: ansible_virtualization_role == "NA" or ansible_virtualization_role == "host" - -- name: Rapport RPM Verify monthly - file: - path: /etc/cron.monthly/rpmreport.sh - state: absent - when: ansible_virtualization_role == "NA" or ansible_virtualization_role == "host" - -- name: Rapport RPM Verify daily - file: - path: /etc/cron.daily/rpmreport.sh - state: absent - when: ansible_virtualization_role == "NA" or ansible_virtualization_role == "host" - -- name: Tests disques durs - file: - path: /etc/cron.weekly/diskcheck.sh - state: absent - when: ansible_virtualization_role == "NA" or ansible_virtualization_role == "host" - -- name: Rapport d'uptime des machines physiques - file: - path: /etc/cron.weekly/a-uptimereport.sh - state: absent - when: ansible_virtualization_role == "NA" or ansible_virtualization_role == "host" diff --git a/roles/diagnostics/tasks/main.yml b/roles/diagnostics/tasks/main.yml index e6de2d3..1ebbf74 100644 --- a/roles/diagnostics/tasks/main.yml +++ b/roles/diagnostics/tasks/main.yml @@ -1,6 +1,3 @@ -- name: Configuration démon Cron - import_tasks: cron.yml - - name: Désinstallation de cockpit import_tasks: cockpit.yml @@ -19,9 +16,6 @@ - name: Installation du HIDS AIDE import_tasks: aide.yml -- name: Installation de rkhunter - import_tasks: rkhunter.yml - - name: Mise à jour des db des HIDS import_tasks: hidsdb.yml diff --git a/roles/diagnostics/tasks/rkhunter.yml b/roles/diagnostics/tasks/rkhunter.yml deleted file mode 100644 index 20281ff..0000000 --- a/roles/diagnostics/tasks/rkhunter.yml +++ /dev/null @@ -1,7 +0,0 @@ -- name: Désinstallation du HIDS rkhunter - package: - name: "{{ item }}" - state: absent - loop: - - rkhunter - - unhide diff --git a/roles/diagnostics/tasks/selinux.yml b/roles/diagnostics/tasks/selinux.yml index 2c8db82..4af621f 100644 --- a/roles/diagnostics/tasks/selinux.yml +++ b/roles/diagnostics/tasks/selinux.yml @@ -1,8 +1,3 @@ -- name: Suppresion du crontask - file: - path: /etc/cron.daily/eaureport.sh - state: absent - - name: Rapport SELinux copy: src: aureport.sh @@ -26,11 +21,6 @@ notify: reload systemd when: ansible_selinux.status != "disabled" -- name: Suppresion du crontask - file: - path: /etc/cron.monthly/selinuxresto.sh - state: absent - - name: Relabel système de fichier copy: src: selinuxresto.sh |