Closed cfergs closed 3 months ago
Hello @cfergs, appreciate you creating the issue. Upon reviewing the details mentioned, I observed that you're using IOS 15.2(7)E9. just wanted to let you know that we do not officially support 15.x devices. Hence this will be a no fix. Feel free to reach out for any other concerns.
SUMMARY
I am running IOS 15.2(7)E9. I notice when running ios_facts and ios_service it doesn't show the correct state of certain services. I have previously disabled dhcp, slave_log and enabled config:
For example from ios_facts
But when i run
show running-config all | section ^service
on the switch it shows dhcp and slave_log as disabled:My running config on the switch:
This also affects the ios_service component as it is unable to accurately determine the correct state of some services
ISSUE TYPE
COMPONENT NAME
cisco.ios.ios_facts, cisco.ios.ios_service
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Operating System: Fedora 38. Cisco Switch: WS-C3560CX-8PC-S Cisco Version: 15.2(7)E9
STEPS TO REPRODUCE
Get facts:
Or modify ios_service:
EXPECTED RESULTS
I expect the ios_fact -> ansible_network_resources to return the correct state of services - in my scenario of disabling dhcp and slave_log it should return:
I also expect ios_service to detect dhcp and slave_log as false and not attempt to re-apply settings or show the task as changed
ACTUAL RESULTS
For ios_service: