mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-27 15:33:06 +00:00
Merge branch 'siemens/feat/ensure_SSH_access_is_limited_5_2_4' into 'siemens/rhel9/devel'
Fix sintax Error on cis_5.2.x.yml See merge request infosec-pss-gov/security-crafter-baseline-automations/ansible-lockdown/rhel9-cis!4
This commit is contained in:
commit
fa0b19cc5c
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@
|
||||||
line: "AllowGroups {{ rhel9cis_sshd['allowgroups'] }}"
|
line: "AllowGroups {{ rhel9cis_sshd['allowgroups'] }}"
|
||||||
validate: sshd -t -f %s
|
validate: sshd -t -f %s
|
||||||
notify: Restart sshd
|
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"
|
- name: "5.2.4 | PATCH | Ensure SSH access is limited | Add line to sshd_config for denyusers"
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue