mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-27 07:23:07 +00:00
remove debug update logic 6.2.8
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
9bedd15ab6
commit
037f11e551
1 changed files with 1 additions and 4 deletions
|
|
@ -137,9 +137,6 @@
|
||||||
with_items: "{{ rhel9cis_passwd | selectattr('uid', '>=', min_int_uid | int) | selectattr('uid', '<', max_int_uid | int) | selectattr('dir', '!=', '/') | map(attribute='dir') | list }}"
|
with_items: "{{ rhel9cis_passwd | selectattr('uid', '>=', min_int_uid | int) | selectattr('uid', '<', max_int_uid | int) | selectattr('dir', '!=', '/') | map(attribute='dir') | list }}"
|
||||||
register: rhel_09_6_2_7_audit
|
register: rhel_09_6_2_7_audit
|
||||||
|
|
||||||
- debug:
|
|
||||||
var: rhel_09_6_2_7_audit
|
|
||||||
|
|
||||||
- name: "6.2.7 | L1 | AUDIT | Ensure users' home directories permissions are 750 or more restrictive"
|
- name: "6.2.7 | L1 | AUDIT | Ensure users' home directories permissions are 750 or more restrictive"
|
||||||
shell: find -H {{ item.0 | quote }} -not -type l -perm /027
|
shell: find -H {{ item.0 | quote }} -not -type l -perm /027
|
||||||
args:
|
args:
|
||||||
|
|
@ -207,7 +204,7 @@
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ rhel9cis_passwd_label }}"
|
label: "{{ rhel9cis_passwd_label }}"
|
||||||
when:
|
when:
|
||||||
- item.uid >= min_int_uid
|
- min_int_uid | int >= item.uid
|
||||||
- rhel9cis_rule_6_2_8
|
- rhel9cis_rule_6_2_8
|
||||||
tags:
|
tags:
|
||||||
- skip_ansible_lint # settings found on 6_2_7
|
- skip_ansible_lint # settings found on 6_2_7
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue