4
0
Fork 0

renamed variable and updated tag

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

View file

@ -196,14 +196,14 @@
# Added to ensure ssh drop in file exists if not default /etc/ssh/sshd_config
- name: "PRELIM | PATCH | SSH Config file is not exist"
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:
- ssh
- always
- level1_server
- level1_workstation
ansible.builtin.file:
path: "{{ rhel9_cis_sshd_config_file }}"
path: "{{ rhel9cis_sshd_config_file }}"
owner: root
group: root
mode: '0600'