mirror of
https://github.com/dev-sec/ansible-collection-hardening
synced 2024-11-10 09:14:18 +00:00
Update roles/os_hardening/tasks/user_accounts.yml
Co-authored-by: schurzi <Martin.Schurz@t-systems.com>
This commit is contained in:
parent
c86bdcb4c7
commit
bf82736787
1 changed files with 2 additions and 2 deletions
|
@ -58,8 +58,8 @@
|
||||||
- name: set ownership of /home directories to 0700
|
- name: set ownership of /home directories to 0700
|
||||||
file:
|
file:
|
||||||
mode: 0700
|
mode: 0700
|
||||||
path: "{{ item }}"
|
path: "{{ item.path }}"
|
||||||
state: directory
|
state: directory
|
||||||
loop:
|
loop:
|
||||||
- "{{ home_directories.files | map(attribute='path') | list }}"
|
- "{{ home_directories.files }}"
|
||||||
when: os_chmod_home_folders | bool
|
when: os_chmod_home_folders | bool
|
||||||
|
|
Loading…
Reference in a new issue