mirror of
https://gitea.0xace.cc/ansible-galaxy/network.git
synced 2025-07-20 06:43:08 +00:00
use yaml as extention instead of yml
This commit is contained in:
9
handlers/main.yaml
Normal file
9
handlers/main.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: Reload interface with ifdown ; ifup
|
||||
shell: |
|
||||
ifdown {{ item }} ; ifup {{ item }}
|
||||
loop: "{{ reload_interfaces | unique }}"
|
||||
|
||||
- name: Reload interface with nmcli
|
||||
command: nmcli conn up {{ item }}
|
||||
loop: "{{ reload_interfaces | unique }}"
|
Reference in New Issue
Block a user