roles/samba: Basic Samba configuration
The *samba* role provides general configuration for Samba. Other roles will provide configuration for specific features such as Active Directory membership, file shares, etc.
This commit is contained in:
15
roles/samba/handlers/main.yml
Normal file
15
roles/samba/handlers/main.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
- name: restart smbd
|
||||
service:
|
||||
name={{ smbd_svc }}
|
||||
state=restarted
|
||||
when: samba_use_smbd
|
||||
- name: restart nmbd
|
||||
service:
|
||||
name={{ nmbd_svc }}
|
||||
state=restarted
|
||||
when: samba_use_nmbd
|
||||
- name: restart winbind
|
||||
service:
|
||||
name={{ winbind_svc }}
|
||||
state=restarted
|
||||
when: samba_use_winbind
|
||||
Reference in New Issue
Block a user