Open jixh99 opened 3 weeks ago
My guess is that address
needs to be enclosed in single quotes to be picked up as a string instead of an undefined variable.
Unfortunately Ansible stops templating of vars (silently) if any errors are hit.
Recreating the issue with https://ansible.sivel.net/test/:
Working example:
Issue Summary
The dict key "loopback_ipv4_address" not resolve the inputs as variable, while other keys do, like "mgmt_ip" and "bgp_as".
the AVD inputs:
l3leaf: defaults: platform: cEOS loopback_ipv4_pool: "{{ NETv4_LPBK_ULAY }}" loopback_ipv4_offset: 0 ... nodes:
Generate CFG
interface Loopback0 description EVPN_Overlay_Peering no shutdown ip address {{ NETv4_LPBK_ULAY | ansible.utils.ipaddr(2) | ansible.utils.ipaddr(address) }}/32 !
Which component(s) of AVD impacted
eos_cli_config_gen
How do you run AVD ?
Ansible CLI (with virtual-env or native python)
Steps to reproduce
Relevant log output
Contributing Guide