From d9d82b2c5069673d266c95806c2bc0a219500c93 Mon Sep 17 00:00:00 2001 From: Jose Nogueira Neto Date: Wed, 2 Dec 2020 00:02:28 -0400 Subject: [PATCH] correcting the rule command 5_3_3 for the playbook to execute --- tasks/section_5.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/section_5.yml b/tasks/section_5.yml index 0c0d0d4..1c1e89d 100644 --- a/tasks/section_5.yml +++ b/tasks/section_5.yml @@ -493,7 +493,7 @@ - name: "5.3.2 Select authselect profile (Scored) | Set profile\n 5.3.3 Ensure authselect includes with-faillock (Scored)" - command: authselect select custom/{{ authselect_profile }} without-nullok with-sudo with-mkhomedir {{ 5_3_3 | ternary("with-faillock", "") }} --force + command: authselect select custom/{{ authselect_profile }} without-nullok with-sudo with-mkhomedir {{ rule_5_3_3 | ternary("with-faillock", "") }} --force when: - authselect_current_profile.rc == 0 - authselect_current_profile.stdout != "/".join(["custom", authselect_profile])