From 9488e1951f573897f86b033ab94887e736509a78 Mon Sep 17 00:00:00 2001 From: Diana-Maria Dumitru Date: Tue, 30 Jan 2024 10:12:11 +0200 Subject: [PATCH] Removing trailing whitespaces and fixing an end-of-file Signed-off-by: Diana-Maria Dumitru --- tasks/prelim.yml | 4 ++-- tasks/section_4/cis_4.2.x.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/prelim.yml b/tasks/prelim.yml index a556392..bfbac94 100644 --- a/tasks/prelim.yml +++ b/tasks/prelim.yml @@ -167,7 +167,7 @@ path: /etc/ssh/sshd_config.d register: sshd_d_conf_files when: - - "'openssh-server' in ansible_facts.packages" + - "'openssh-server' in ansible_facts.packages" tags: - always @@ -176,7 +176,7 @@ path: "{{ amzn2023cis_sshd_config_file }}" register: main_sshd_cfg when: - - "'openssh-server' in ansible_facts.packages" + - "'openssh-server' in ansible_facts.packages" tags: - always diff --git a/tasks/section_4/cis_4.2.x.yml b/tasks/section_4/cis_4.2.x.yml index 20f8a98..6134cb4 100644 --- a/tasks/section_4/cis_4.2.x.yml +++ b/tasks/section_4/cis_4.2.x.yml @@ -213,7 +213,7 @@ validate: sshd -t -f %s with_items: - "{{ sshd_d_conf_files.files }}" - - "{{ main_sshd_cfg.stat }}" + - "{{ main_sshd_cfg.stat }}" when: - amzn2023cis_rule_4_2_9 tags: @@ -461,4 +461,4 @@ - nist_sp800-53r5_CM-2 - nist_sp800-53r5_CM-6 - nist_sp800-53r5_CM-7 - - nist_sp800-53r5_IA-5 \ No newline at end of file + - nist_sp800-53r5_IA-5