fix route compare

This commit is contained in:
ace 2021-10-27 14:38:22 +03:00
parent 4f626c46ac
commit f24bd4333c
No known key found for this signature in database
GPG Key ID: 2E47CC17BA7F8CF0

View File

@ -49,9 +49,9 @@
gw6: "{{ iface.gw6 | default(omit) }}"
never_default4: "{{ iface.never_default4 | default('yes') }}"
vlanid: "{{ iface.vlanid | default(omit) }}"
routes4: "{{ omit if existing_routes4 != new_routes4 else iface.routes4 }}"
routes4: "{{ omit if existing_routes4 == new_routes4 else iface.routes4 }}"
routing_rules4: "{{ iface.routing_rules4 | default(omit) }}"
routes6: "{{ omit if existing_routes6 != new_routes6 else iface.routes6 }}"
routes6: "{{ omit if existing_routes6 == new_routes6 else iface.routes6 }}"
routing_rules6: "{{ iface.routing_rules6 | default(omit) }}"
mtu: "{{ iface.mtu | default(0) }}"
zone: "{{ iface.zone | default(omit) }}"