mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 22:23:06 +00:00
renamed variables
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
c58c4eb4e8
commit
14d038e8eb
14 changed files with 113 additions and 113 deletions
|
|
@ -202,9 +202,9 @@
|
|||
|
||||
- name: "7.1.11 | PATCH | Ensure no world writable files exist | Adjust world-writable directories add sticky bit"
|
||||
ansible.builtin.shell: df --local -P | awk {'if (NR!=1) print $6'} | xargs -I '{}' find '{}' -xdev -type d -perm -o+w ! -perm -1002 2>/dev/null | xargs chmod a+t
|
||||
failed_when: rhel9cis_set_stickybit.rc not in [ 0, 123 ]
|
||||
changed_when: rhel9cis_set_stickybit.rc == 0
|
||||
register: rhel9cis_set_stickybit
|
||||
failed_when: discovered_set_stickybit.rc not in [ 0, 123 ]
|
||||
changed_when: discovered_set_stickybit.rc == 0
|
||||
register: discovered_set_stickybit
|
||||
|
||||
- name: "7.1.12 | PATCH | Ensure no files or directories without an owner and a group exist"
|
||||
when:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue