This commit is contained in:
ace
2021-10-27 16:49:17 +03:00
parent f24bd4333c
commit 0694f3649e
2 changed files with 12 additions and 0 deletions

View File

@ -15,6 +15,8 @@
state: present
notify:
- Reload interface with nmcli
set_fact:
reload_interfaces: "{{ reload_interfaces + iface.conn_name }}"
- name: Get existing ipv4 routes
shell: nmcli -g ipv4.routes connection show {{ iface.conn_name }}