Open GamerGun opened 6 months ago
Files identified in the description:
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
cc @drybjed @jtyr @noles click here for bot help
You might want to use state=exact
instead of state=present
. According to the docs:
If V(present), all given attribute values will be added if they're missing
Emphasesis mine. Apparently there's already a value, and you tell the module to add another one - which results in an invalid state. You want this behavior:
If V(exact), the set of attribute values will be forced to exactly those provided and no others.
Summary
When running this play;
And the following attributes:
It fails with the following error:
Removing just that attribute results in a working playbook, but i don't understand what is wrong with it?
Entire output;
Issue Type
Bug Report
Component Name
community.general.ldap_attrs
Ansible Version
Ansible Automation Platform Controller 4.4.7
Community.general Version
8.1.0 (Automation Hub)
Configuration
OS / Environment
RHEL8
Steps to Reproduce
And the following attributes:
Expected Results
Changed LDAP attr
Actual Results
Code of Conduct