Added updated for 5.1.1 to ignore ec2 based ssh config perms change

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2025-02-20 17:09:21 +00:00
parent fca0434bb3
commit 39efaecdd2
No known key found for this signature in database
GPG Key ID: 997FF7FE93AEB5B9
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@
register: discovered_sshd_confs
- name: "5.1.1 | PATCH | Ensure permissions on /etc/ssh/sshd_config are configured"
when: (item.path != "'/etc/ssh/sshd_config.d/60-cloudimg-settings.conf'" and system_is_ec2 )
ansible.builtin.file:
path: "{{ item.path }}"
recurse: false