From f83e73c1a11a6e517b977c1b00dfb3e284ffa789 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Fri, 12 Apr 2024 10:38:40 +0100 Subject: [PATCH] addressed #197 thanks to @mark-tomich Signed-off-by: Mark Bolwell --- tasks/section_1/cis_1.3.x.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/section_1/cis_1.3.x.yml b/tasks/section_1/cis_1.3.x.yml index 5d39428..b3ae9e9 100644 --- a/tasks/section_1/cis_1.3.x.yml +++ b/tasks/section_1/cis_1.3.x.yml @@ -17,6 +17,10 @@ creates: /var/lib/aide/aide.db.new.gz when: not ansible_check_mode + - name: "1.3.1 | PATCH | Ensure AIDE is installed | Wait for file before continuing" + ansible.builtin.wait_for: + path: /var/lib/aide/aide.db.new.gz + - name: "1.3.1 | PATCH | Ensure AIDE is installed | copy AIDE DB" ansible.builtin.copy: src: /var/lib/aide/aide.db.new.gz