Closed digitalfiend64 closed 1 year ago
Dear maintainer, I see this was fixed in merge https://github.com/ansible-collections/cisco.ios/pull/700 but I do not see this issue or merge https://github.com/ansible-collections/cisco.ios/pull/700 in the latest *changelog. What collection version should this be resolved in?
*) Changelog Referenced: https://github.com/ansible-collections/cisco.ios/blob/main/changelogs/changelog.yaml
SUMMARY
Cisco.ios.ios_l3_interfaces dhcp and autoconfig parameters don’t operate as documented. When using an inventory with dhcp: { enabled: false } the dhcp config of the interface does not get removed. This same behavior occurs with the autoconfig parameter. However, when running the same inventory and changing the value of the key to true both dhcp and autoconfig get added to the interface if it wasn’t previously configured on it.
ISSUE TYPE
COMPONENT NAME
Cisco.ios.ios_l3_interfaces v4.0.0
ANSIBLE VERSION
Ansible v2.9.27
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-ENTSERVICESK9-M), Version 15.2(4)E2, RELEASE SOFTWARE (fc2)
STEPS TO REPRODUCE
EXPECTED RESULTS
Step #1 should not configure DHCP and Autoconfig under the interface. Step #2 should not fail
ACTUAL RESULTS
Step #1 configures DHCP and Autoconfig under the interface Step #2 will fail the task
DHCP and Autoconfig are enabled and if run again you get “msg: address format is/, got invalid format dhcp”.