mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2026-03-26 06:37:11 +00:00
5.1.10 and 5.1.11 updated variable naming
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
02008339b4
commit
f892525a7c
1 changed files with 2 additions and 2 deletions
|
|
@ -276,7 +276,7 @@
|
||||||
notify: Restart sshd
|
notify: Restart sshd
|
||||||
|
|
||||||
- name: "5.1.10 | PATCH | Ensure sshd DisableForwarding is enabled | override"
|
- name: "5.1.10 | PATCH | Ensure sshd DisableForwarding is enabled | override"
|
||||||
when: discovered_sshd_50_redhat_file.stat.exists
|
when: prelim_sshd_50_redhat_file.stat.exists
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: /etc/ssh/sshd_config.d/50-redhat.conf
|
path: /etc/ssh/sshd_config.d/50-redhat.conf
|
||||||
regexp: (?i)^(#|)\s*X11Forwarding
|
regexp: (?i)^(#|)\s*X11Forwarding
|
||||||
|
|
@ -299,7 +299,7 @@
|
||||||
- NIST800-53R5_IA-5
|
- NIST800-53R5_IA-5
|
||||||
block:
|
block:
|
||||||
- name: "5.1.11 | PATCH | Ensure sshd GSSAPIAuthentication is disabled | redhat file"
|
- name: "5.1.11 | PATCH | Ensure sshd GSSAPIAuthentication is disabled | redhat file"
|
||||||
when: discovered_sshd_50_redhat_file.stat.exists
|
when: prelim_sshd_50_redhat_file.stat.exists
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: /etc/ssh/sshd_config.d/50-redhat.conf
|
path: /etc/ssh/sshd_config.d/50-redhat.conf
|
||||||
regexp: (?i)^(#|)\s*GSSAPIAuthentication
|
regexp: (?i)^(#|)\s*GSSAPIAuthentication
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue