Improvements sambox-client.
This commit is contained in:
parent
06973c015b
commit
d7d767fea9
3 changed files with 20 additions and 2 deletions
|
@ -89,6 +89,15 @@
|
|||
before: '\[.+\]'
|
||||
notify: restart smbd
|
||||
|
||||
- name: make smb homes writable
|
||||
replace:
|
||||
path: /etc/samba/smb.conf
|
||||
regexp: '^(\s*create mask =) 0700'
|
||||
replace: '\1 0600'
|
||||
after: '\[homes\]'
|
||||
before: '\[.+\]'
|
||||
notify: restart smbd
|
||||
|
||||
- name: slurp admin password for samba setup
|
||||
slurp:
|
||||
src: "{{ ldap_admin_pwd_file }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue