diff options
Diffstat (limited to 'infrastructure/roles/users')
| -rw-r--r-- | infrastructure/roles/users/tasks/main.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/infrastructure/roles/users/tasks/main.yaml b/infrastructure/roles/users/tasks/main.yaml index 37d616c..43ecc25 100644 --- a/infrastructure/roles/users/tasks/main.yaml +++ b/infrastructure/roles/users/tasks/main.yaml @@ -5,6 +5,12 @@ groups: - sudo loop: "{{ users }}" +- name: accesible home directory (for web serving, for example) + ansible.builtin.file: + path: "/home/{{ item.name }}" + state: directory + mode: '0701' + loop: "{{ users }}" - name: create .ssh directory ansible.builtin.file: path: "/home/{{ item.name }}/.ssh" |
