edgeos config fact retrieval fails #37123
Labels
affects_2.5
This issue/PR affects Ansible v2.5
bug
This issue/PR relates to a bug.
module
This issue/PR relates to a module.
networking
Network category
support:network
This issue/PR relates to code supported by the Ansible Network Team.
ISSUE TYPE
COMPONENT NAME
edgeos_facts
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
When trying to gather config facts I get an error due to trying to:
https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/network/edgeos/edgeos_facts.py#L174
Which is trying to assign some string to a dictionary that was not created in the current
execution branch. The naive fix is to just change that to:
STEPS TO REPRODUCE
EXPECTED RESULTS
Facts are gathered with the field 'ansible_net_config' containing all the commands to set the config of the router.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: