Open brunopeter opened 1 month ago
It would appear that the same thing is now happening with 'ip helper-address' commands since updating to the latest collection (6.1.4).
- name: "Update interfaces DHCP"
cisco.ios.ios_config:
lines:
- ip helper-address 192.168.1.1
- ip helper-address 192.168.2.2
parents:
interface Vlan99
"msg": [
"-----STEP-1-----------------------------------------------",
{
"banners": {},
"changed": true,
"commands": [
"interface Vlan99",
"ip helper-address 192.168.1.1",
"ip helper-address 192.168.2.2"
],
"failed": false,
"updates": [
"interface Vlan99",
"ip helper-address 192.168.1.1",
"ip helper-address 192.168.2.2"
],
"warnings": [
"To ensure idempotency and correct diff the input configuration lines should be similar to how they appear if present in the running configuration on device"
]
}
]
}
SUMMARY
Unable to update configuration when using IPv6 addresses. Confirmed issue occurs with both "ipv6 address" and "ipv6 dhcp relay destination" commands. Idempotency warning are triggered the first time commands are run on cisco switch. Commands are accepted and show in running config.
ISSUE TYPE
COMPONENT NAME
cisco.ios.ios_config
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Verified against: Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software (cat4500es8-UNIVERSALK9-M), Version 03.11.08.E RELEASE SOFTWARE (fc1)
Cisco IOS Software, C3560CX Software (C3560CX-UNIVERSALK9-M), Version 15.2(7)E9, RELEASE SOFTWARE (fc1)
STEPS TO REPRODUCE
EXPECTED RESULTS
Vlan interface updated with IPv6 relay address(s).
ACTUAL RESULTS
Idempotency is always triggered on first run. Completes successfully on subsequent runs but changed is not triggered and configuration not saved though present in running.