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