Restarting samba jobs upstart way.

This commit is contained in:
Emiliano Vavassori 2016-02-20 17:09:02 +01:00
parent 10d53da81b
commit 4576f09200
1 changed files with 2 additions and 2 deletions

View File

@ -16,11 +16,11 @@
replace: '@{HOMEDIRS}=/home/ /home/{{ ansible_local.domain.domainshort }}/'
- name: SAMBA restart
shell: /usr/sbin/service samba restart
shell: /sbin/restart smbd
when: cfg_samba|changed
- name: Winbind restart
shell: /usr/sbin/service winbind restart
shell: /sbin/restart winbind
when: cfg_samba|changed
- name: Creating home base