mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-30 21:41:53 +08:00
Copy these handlers to base role handers to avoid include handers bug in ansible 2.0
This commit is contained in:
@@ -1,3 +1,16 @@
|
||||
---
|
||||
- name: restart watchdog
|
||||
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 }}"
|
||||
|
||||
Reference in New Issue
Block a user