forked from ansible-lockdown/RHEL9-CIS
blank space and tidy
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
e389ac16a0
commit
e61ef2c1a6
1 changed files with 2 additions and 5 deletions
|
|
@ -237,8 +237,6 @@
|
||||||
item.stat.gr_name != 'root' or
|
item.stat.gr_name != 'root' or
|
||||||
item.stat.woth or
|
item.stat.woth or
|
||||||
item.stat.wgrp
|
item.stat.wgrp
|
||||||
|
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- rhel9cis_rule_6_2_8
|
- rhel9cis_rule_6_2_8
|
||||||
tags:
|
tags:
|
||||||
|
|
@ -274,8 +272,8 @@
|
||||||
|
|
||||||
- name: "6.2.10 | AUDIT | Ensure local interactive user home directories exist"
|
- name: "6.2.10 | AUDIT | Ensure local interactive user home directories exist"
|
||||||
ansible.builtin.shell: find -H {{ item.0 | quote }} -not -type l -perm /027
|
ansible.builtin.shell: find -H {{ item.0 | quote }} -not -type l -perm /027
|
||||||
|
changed_when: false
|
||||||
check_mode: false
|
check_mode: false
|
||||||
changed_when: rhel_09_6_2_10_patch_audit.stdout | length > 0
|
|
||||||
register: rhel_09_6_2_10_patch_audit
|
register: rhel_09_6_2_10_patch_audit
|
||||||
with_together:
|
with_together:
|
||||||
- "{{ rhel_09_6_2_10_audit.results | map(attribute='item') | list }}"
|
- "{{ rhel_09_6_2_10_audit.results | map(attribute='item') | list }}"
|
||||||
|
|
@ -318,8 +316,7 @@
|
||||||
mode: rx
|
mode: rx
|
||||||
- etype: other
|
- etype: other
|
||||||
mode: '0'
|
mode: '0'
|
||||||
when:
|
when: not system_is_container
|
||||||
- not system_is_container
|
|
||||||
when:
|
when:
|
||||||
- rhel9cis_rule_6_2_10
|
- rhel9cis_rule_6_2_10
|
||||||
tags:
|
tags:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue