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:
2018-03-11 18:10:57 -05:00
parent f16b7557cd
commit 4546cffeba
8 changed files with 131 additions and 0 deletions

View 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