ansible_net_all_ipv6_addresses array is empty even when interfaces with ipv6 addresses are configured. This issue is not replicated on IOS or IOSXR. #771
cisco Nexus3000 C31128PQ-10GE Chassis (Nexus 9000 Series)
version 7.0(3)I7(6)
STEPS TO REPRODUCE
Run the Interface Update Implementation playbook
---
- name: Test ansible_net_all_ipv6_addresses var
hosts: all
gather_facts: no
tasks:
- name: Set IP on interface
cisco.nxos.nxos_l3_interfaces:
config:
- name: interface1
ipv6:
- address: ipv6_address
state: merged
- name: DEBUG v6
debug:
var: ansible_net_all_ipv6_addresses
EXPECTED RESULTS
ansible_net_all_ipv6_addresses should contain IPv6 addresses configured on interfaces.
SUMMARY
ansible_net_all_ipv6_addresses array is empty even when interfaces with ipv6 addresses are configured. This issue is not replicated on IOS or IOSXR.
ISSUE TYPE
COMPONENT NAME
cisco.nxos v5.2.1
ANSIBLE VERSION
Ansible v2.12.6
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
cisco Nexus3000 C31128PQ-10GE Chassis (Nexus 9000 Series) version 7.0(3)I7(6)
STEPS TO REPRODUCE
EXPECTED RESULTS
ansible_net_all_ipv6_addresses should contain IPv6 addresses configured on interfaces.
ACTUAL RESULTS