The *samba* role provides general configuration for Samba. Other roles will provide configuration for specific features such as Active Directory membership, file shares, etc.
16 lines
306 B
YAML
16 lines
306 B
YAML
- 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
|