Skip to content

Commit

Permalink
Merge branch 'le9i0nx-add_Check_config_samba'
Browse files Browse the repository at this point in the history
  • Loading branch information
drybjed committed May 31, 2016
2 parents 797bd10 + 14365cb commit 87c213f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
---

- name: Check samba config
command: testparm -s
notify: Reload samba

- name: Reload samba
service:
name: '{{ samba__service_name }}'
Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
owner: 'root'
group: 'root'
mode: '0644'
notify: [ 'Reload samba' ]
notify: [ 'Check config samba' ]

# .. Kernel modules (((

Expand Down

0 comments on commit 87c213f

Please sign in to comment.