Open mthurstocisco opened 3 weeks ago
@mthurstocisco we were unable to recreate this in our environment and yours so please add the traceback info if you see it again. We will keep this issue open for a couple of weeks and close it then if the issue cannot be recreated.
Community Note
Ansible Version and collection version
ansible [core 2.16.3]
DCNM version
Affected module(s)
Ansible Playbook
Debug Output
To hit this problem it would require NDFC to already an instance of the same policy on the same switch but with the description field being blank.
When running you get a key error when the description is currently blank in NDFC (in my example i was trying to create feature_ospf but it was already in NDFC from the fabric creation).
In terms of expected behavior, maybe a error raised up to the user telling them a policy with that template already exists in NDFC but without a description? I guess on brownfield deployments (where potentially you want to start using ansible but have previously configured things via the GUI) this would come up a lot.
Expected Behavior
Actual Behavior
Steps to Reproduce
References