updated 5.1.1 logic for ec2 image
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
39efaecdd2
commit
345928b74f
|
@ -26,7 +26,7 @@
|
||||||
register: discovered_sshd_confs
|
register: discovered_sshd_confs
|
||||||
|
|
||||||
- name: "5.1.1 | PATCH | Ensure permissions on /etc/ssh/sshd_config are configured"
|
- 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 )
|
when: (item.path != '/etc/ssh/sshd_config.d/60-cloudimg-settings.conf' and system_is_ec2 )
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ item.path }}"
|
path: "{{ item.path }}"
|
||||||
recurse: false
|
recurse: false
|
||||||
|
|
Loading…
Reference in New Issue