use yaml as extention instead of yml

This commit is contained in:
ace
2022-01-26 17:33:39 +03:00
parent 8065c2ae49
commit 825374b519
2 changed files with 0 additions and 0 deletions

9
handlers/main.yaml Normal file
View 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 }}"