Fix for #2: Restart WinBind when changing the configuration
This commit is contained in:
parent
f7b5b10c7d
commit
2ae6ec85c0
@ -1,4 +1,4 @@
|
|||||||
# File: roles/fileserver/tasks/main.yml
|
# File: roles/samba/tasks/main.yml
|
||||||
---
|
---
|
||||||
|
|
||||||
- name: Install Samba packages
|
- name: Install Samba packages
|
||||||
@ -54,7 +54,9 @@
|
|||||||
dest: /etc/samba/smb.conf
|
dest: /etc/samba/smb.conf
|
||||||
src: smb.conf.j2
|
src: smb.conf.j2
|
||||||
validate: 'testparm -s %s'
|
validate: 'testparm -s %s'
|
||||||
notify: Restart Samba
|
notify:
|
||||||
|
- Restart Samba
|
||||||
|
- Restart WinBind
|
||||||
tags: samba
|
tags: samba
|
||||||
|
|
||||||
- name: Start Samba service
|
- name: Start Samba service
|
||||||
|
Loading…
Reference in New Issue
Block a user