From 338fc2949700961a8309c8340b0b5f89d42d9809 Mon Sep 17 00:00:00 2001 From: Eduardo Gonzalez Fisher Date: Wed, 3 Apr 2024 13:43:26 +0100 Subject: [PATCH] add missing ubtu22cis_rule_6_2_10 Signed-off-by: Eduardo Gonzalez Fisher --- tasks/prelim.yml | 2 ++ tasks/section_6/cis_6.2.x.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/prelim.yml b/tasks/prelim.yml index 8a51c95d..0c44bafe 100644 --- a/tasks/prelim.yml +++ b/tasks/prelim.yml @@ -227,6 +227,8 @@ changed_when: false check_mode: false register: ubtu22cis_uid_zero_accounts_except_root + when: + - ubtu22cis_rule_6_2_10 tags: - rule_6.2.10 - level1-server diff --git a/tasks/section_6/cis_6.2.x.yml b/tasks/section_6/cis_6.2.x.yml index d60e667a..46c06385 100644 --- a/tasks/section_6/cis_6.2.x.yml +++ b/tasks/section_6/cis_6.2.x.yml @@ -309,8 +309,8 @@ failed_when: false loop: "{{ ubtu22cis_uid_zero_accounts_except_root.stdout_lines }}" when: - - ubtu22cis_uid_zero_accounts_except_root.rc - ubtu22cis_rule_6_2_10 + - ubtu22cis_uid_zero_accounts_except_root.rc tags: - level1-server - level1-workstation