summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2023-02-18 04:57:51 +0100
committerMatthieu Saulnier <fantom@fedoraproject.org>2023-02-18 04:57:51 +0100
commit1119c4d2bb3c5c8cbd2efd50f4cb715555d339d2 (patch)
treec84746cb1ac8e501a99c31ff1f3ec06f5ce9974c
parent048163869dcaf427189c3556bc88e9455d3dd188 (diff)
downloadplaybooks-ansible-1119c4d2bb3c5c8cbd2efd50f4cb715555d339d2.tar.gz
playbooks-ansible-1119c4d2bb3c5c8cbd2efd50f4cb715555d339d2.tar.xz
playbooks-ansible-1119c4d2bb3c5c8cbd2efd50f4cb715555d339d2.zip
Add task to fetch HIDS database file from remote machines
-rw-r--r--roles/diagnostics/tasks/hidsdb.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/diagnostics/tasks/hidsdb.yml b/roles/diagnostics/tasks/hidsdb.yml
index 6428f19..d2a0b0a 100644
--- a/roles/diagnostics/tasks/hidsdb.yml
+++ b/roles/diagnostics/tasks/hidsdb.yml
@@ -18,3 +18,9 @@
src: /root/aidedb-global.txt
dest: roles/diagnostics/files/aidedb-hash/
tags: hidsdb
+
+- name: fetch database file
+ fetch:
+ src: /var/lib/aide/aide.db.new.gz
+ dest: roles/diagnostics/files/aidedb-hash/
+ tags: hidsdb