autofs: Add more strict umask to users
This commit is contained in:
parent
1b3a2a8000
commit
40e834144f
3 changed files with 19 additions and 0 deletions
|
@ -80,3 +80,14 @@
|
|||
with_items:
|
||||
- usercache.sh
|
||||
- usercache.csh
|
||||
|
||||
- name: Set umask for users
|
||||
ansible.builtin.copy:
|
||||
dest: "/etc/profile.d/{{ item }}"
|
||||
src: "{{ item }}"
|
||||
mode: "0644"
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
with_items:
|
||||
- umask.sh
|
||||
- umask.csh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue