From aa4c427c54ddb2729470619fab94287c0cb753a7 Mon Sep 17 00:00:00 2001 From: "root@DERVISHx" Date: Mon, 16 Oct 2023 18:26:04 +0100 Subject: [PATCH] Fix sintax Error on cis_5.2.x.yml Signed-off-by: root@DERVISHx --- tasks/section_5/cis_5.2.x.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/section_5/cis_5.2.x.yml b/tasks/section_5/cis_5.2.x.yml index 9054afd..b139a45 100644 --- a/tasks/section_5/cis_5.2.x.yml +++ b/tasks/section_5/cis_5.2.x.yml @@ -91,7 +91,7 @@ line: "AllowGroups {{ rhel9cis_sshd['allowgroups'] }}" validate: sshd -t -f %s notify: Restart sshd - when: "rhel9cis_sshd['allowgroups']|default('') | length > 0" + when: "rhel9cis_sshd['allowgroups']| default('')| length > 0" - name: "5.2.4 | PATCH | Ensure SSH access is limited | Add line to sshd_config for denyusers" ansible.builtin.lineinfile: