4
0
Fork 0

updated var naming from rhel9_cis to rhel9cis

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2024-09-06 14:40:52 +01:00
parent 2d2f281733
commit 3cdd2a0368
No known key found for this signature in database
GPG key ID: 997FF7FE93AEB5B9
4 changed files with 24 additions and 24 deletions

View file

@ -242,13 +242,13 @@
# Added to ensure ssh drop in file exists if not default /etc/ssh/sshd_config
- name: "PRELIM | Section 5.2 | SSH"
ansible.builtin.file:
path: "{{ rhel9_cis_sshd_config_file }}"
path: "{{ rhel9cis_sshd_config_file }}"
owner: root
group: root
mode: '0600'
state: touch
when:
- rhel9_cis_sshd_config_file != '/etc/ssh/sshd_config'
- rhel9cis_sshd_config_file != '/etc/ssh/sshd_config'
- "'openssh-server' in ansible_facts.packages"
tags:
- always