Skip to content

Commit

Permalink
Removing trailing whitespaces and fixing an end-of-file
Browse files Browse the repository at this point in the history
Signed-off-by: Diana-Maria Dumitru <[email protected]>
  • Loading branch information
DianaMariaDDM committed Jan 30, 2024
1 parent 7bc0c12 commit 9488e19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tasks/prelim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions tasks/section_4/cis_4.2.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -461,4 +461,4 @@
- nist_sp800-53r5_CM-2
- nist_sp800-53r5_CM-6
- nist_sp800-53r5_CM-7
- nist_sp800-53r5_IA-5
- nist_sp800-53r5_IA-5

0 comments on commit 9488e19

Please sign in to comment.