support interface removal

This commit is contained in:
ace
2025-06-30 02:42:11 +03:00
parent 4390308fba
commit 63b4d66156
3 changed files with 53 additions and 26 deletions

View File

@ -7,3 +7,4 @@
- name: Reload interface with nmcli
command: nmcli conn up "{{ item }}"
loop: "{{ reload_interfaces | unique }}"
when: item.state is not defined or item.state != "absent"