This commit is contained in:
Christoph 2023-04-14 01:36:48 +02:00
parent 11891bedf6
commit 3fffc4cf7d
2 changed files with 7 additions and 1 deletions

View File

@ -431,6 +431,12 @@ samba_user:
- buero - buero
password: '20_valentina_18!' password: '20_valentina_18!'
- name: whitney
groups:
- buero
- beratung
password: '23_wh1tney#!'
base_home: /home base_home: /home
# remove_samba_users: # remove_samba_users:

View File

@ -19,7 +19,7 @@
path: "{{ item.path }}" path: "{{ item.path }}"
owner: "root" owner: "root"
group: "{{ item.group_write_list | default('root', true) }}" 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 state: directory
recurse: no recurse: no
with_items: "{{ samba_shares }}" with_items: "{{ samba_shares }}"