mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-27 15:33:06 +00:00
Fix sintax Error on cis_5.2.x.yml
Signed-off-by: root@DERVISHx <nuno.carvalho@siemens.com>
This commit is contained in:
parent
154959af62
commit
aa4c427c54
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue