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:
uk-bolly 2026-03-18 17:43:04 +00:00 committed by GitHub
commit ab6254aa7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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