Closed stackprotector closed 1 year ago
@stackprotector i believe we have a fix for this already in our dev instance (which is scheduled for release as part of 22.4.0. I"ll double check with the team. https://github.com/ansible-collections/netapp.ontap#bug-fixes
This was fixed in 22.4.0
Summary
The
na_ontap_ldap_client
module does not seem to be idempotent. If I run it once, everything is fine and it creates the LDAP connection. But if I run it a second time without any changes, the module throws an error saying "duplicate entry", instead of just saying "OK" (no changes needed). So it looks like it tries to create the same LDAP connection a second time instead of checking the already existing one correctly.Component Name
na_ontap_ldap_client
Ansible Version
ONTAP Collection Version
ONTAP Version
Playbook
Steps to Reproduce
skip_config_validation: yes
)Expected Results
I expect to get no error message, but an "OK" status (no changes needed) instead.
Actual Results