Add missing info about group for users directory
This commit is contained in:
parent
f642599504
commit
86f107e8f4
@ -29,6 +29,7 @@
|
||||
ansible.builtin.file:
|
||||
path: /home/{{ item.name }}
|
||||
owner: "{{ item.name }}"
|
||||
group: "{{ item.name }}"
|
||||
state: directory
|
||||
mode: 0700
|
||||
with_items: "{{ user_details }}"
|
||||
@ -37,6 +38,7 @@
|
||||
ansible.builtin.file:
|
||||
path: /home/{{ item.name }}/.ssh
|
||||
owner: "{{ item.name }}"
|
||||
group: "{{ item.name }}"
|
||||
state: directory
|
||||
mode: 0700
|
||||
with_items: "{{ user_details }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user