mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2026-03-25 14:27:12 +00:00
Merge pull request #436 from defnotyujine/fix_5.1.10_5.1.11
Added always tag to ensure variable exists on CIS profile tag-based e…
This commit is contained in:
commit
ab6254aa7a
1 changed files with 2 additions and 0 deletions
|
|
@ -259,6 +259,8 @@
|
|||
|
||||
- name: "PRELIM | PATCH | sshd_config.d/50-redhat.conf exists"
|
||||
when: rhel9cis_rule_5_1_10 or rhel9cis_rule_5_1_11
|
||||
tags:
|
||||
- always
|
||||
ansible.builtin.stat:
|
||||
path: /etc/ssh/sshd_config.d/50-redhat.conf
|
||||
register: prelim_sshd_50_redhat_file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue