diff --git a/host_vars/zapata.opp.netz.yml b/host_vars/zapata.opp.netz.yml index ce514f7..fc49bd5 100644 --- a/host_vars/zapata.opp.netz.yml +++ b/host_vars/zapata.opp.netz.yml @@ -431,6 +431,12 @@ samba_user: - buero password: '20_valentina_18!' + - name: whitney + groups: + - buero + - beratung + password: '23_wh1tney#!' + base_home: /home # remove_samba_users: diff --git a/roles/common/tasks/samba-config-server.yml b/roles/common/tasks/samba-config-server.yml index 6a12792..6e2ca03 100644 --- a/roles/common/tasks/samba-config-server.yml +++ b/roles/common/tasks/samba-config-server.yml @@ -19,7 +19,7 @@ path: "{{ item.path }}" owner: "root" group: "{{ item.group_write_list | default('root', true) }}" - mode: "{{ dir_create_mask | default('2770', true) }}" + mode: "{{ item.dir_create_mask | default('2770', true) }}" state: directory recurse: no with_items: "{{ samba_shares }}"