Restart basset worker if config was updated

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-07-08 14:16:20 +00:00
parent 20f8493747
commit 46f8efc01a
2 changed files with 5 additions and 0 deletions

View file

@ -149,6 +149,9 @@
- name: reload NetworkManager-connections
command: nmcli c reload
- name: reload basset-worker
service: name=basset-worker state=restarted
- name: apply interface-changes
command: nmcli con up {{ item.split()[1] }}
async: 1