This commit is contained in:
ace
2023-09-24 03:48:12 +03:00
parent 8ba560a810
commit 8aa06f4399
8 changed files with 136 additions and 39 deletions

View File

@ -25,12 +25,12 @@
when: configure_interface.changed
- name: "{{ iface.conn_name }} | Get existing ipv4 routes"
shell: nmcli -g ipv4.routes connection show {{ iface.conn_name }}
shell: nmcli -g ipv4.routes connection show "{{ iface.conn_name }}"
register: existing_routes4_res
changed_when: False
- name: "{{ iface.conn_name }} | Get existing ipv6 routes"
shell: nmcli -g ipv6.routes connection show {{ iface.conn_name }}
shell: nmcli -g ipv6.routes connection show "{{ iface.conn_name }}"
register: existing_routes6_res
changed_when: False