Copy these handlers to base role handers to avoid include handers bug in ansible 2.0
This commit is contained in:
parent
12f6fa4f92
commit
ce25adcfec
1 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,16 @@
|
||||||
---
|
---
|
||||||
- name: restart watchdog
|
- name: restart watchdog
|
||||||
service: name=watchdog state=restarted
|
service: name=watchdog state=restarted
|
||||||
|
|
||||||
|
- name: restart NetworkManager
|
||||||
|
service: name=NetworkManager state=restarted
|
||||||
|
|
||||||
|
- name: reload NetworkManager-connections
|
||||||
|
command: nmcli c reload
|
||||||
|
|
||||||
|
- name: apply interface-changes
|
||||||
|
command: nmcli con up {{ item.split()[1] }}
|
||||||
|
async: 1
|
||||||
|
poll: 0
|
||||||
|
with_items:
|
||||||
|
- "{{ if_uuid.stdout_lines }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue