We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0f12f6 commit 048d197Copy full SHA for 048d197
tasks/section_6/cis_6.1.x.yml
@@ -21,6 +21,8 @@
21
owner: root
22
group: root
23
mode: '0644'
24
+ failed_when: discovered_file_exists.state not in '[ file, absent ]'
25
+ register: discovered_file_exists
26
when:
27
- ubtu22cis_rule_6_1_2
28
tags:
0 commit comments