From 18152bc17d5593d5c381a6f65b6635e53bb9e8b8 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Fri, 10 Jan 2025 12:39:13 +0000 Subject: [PATCH] fix conditional for snap/squashfs Signed-off-by: Mark Bolwell --- tasks/prelim.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/prelim.yml b/tasks/prelim.yml index 518cfe3..eba0b21 100644 --- a/tasks/prelim.yml +++ b/tasks/prelim.yml @@ -7,7 +7,7 @@ changed_when: false - name: "PRELIM | AUDIT | Register if snap being used" - when: ubtu24cis_rule_1_1_1_6 + when: ubtu24cis_rule_1_1_1_7 tags: always ansible.builtin.shell: df -h | grep -wc "/snap" changed_when: false @@ -15,7 +15,7 @@ register: prelim_snap_pkg_mgr - name: "PRELIM | AUDIT | Register if squashfs is built into the kernel" - when: ubtu24cis_rule_1_1_1_6 + when: ubtu24cis_rule_1_1_1_7 tags: always ansible.builtin.shell: cat /lib/modules/$(uname -r)/modules.builtin | grep -c "squashfs" changed_when: false