diff --git a/tasks/section_5/cis_5.1.x.yml b/tasks/section_5/cis_5.1.x.yml index 7261726..7a55bda 100644 --- a/tasks/section_5/cis_5.1.x.yml +++ b/tasks/section_5/cis_5.1.x.yml @@ -26,7 +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 ) + when: (item.path != '/etc/ssh/sshd_config.d/60-cloudimg-settings.conf' and system_is_ec2 ) ansible.builtin.file: path: "{{ item.path }}" recurse: false