Closed davidcba1 closed 1 year ago
Hi @davidcba1, thanks for raising this issue.
As this collection wraps around the awx.awx
collection (or in your case ansible.controller
) the issue would best reside there as it appears the underlying issue would exist if running
- ansible.controller.settings:
name: ORG_ADMINS_CAN_SEE_ALL_USERS
value: false
I'd therefore suggest you raise the issue in the awx.awx collection repository: https://github.com/ansible/awx/issues
I'm closing this issue but if you need to discuss further feel free to reopen
Summary
Ansible is supposed to be idempotent, yet when you provide a setting with the value of true or false it registers a change in ansible
This is by utilising the 2 roles of
Issue Type
Ansible, Collection, Controller details
EE (using ansible-navigator exec)
OS / ENVIRONMENT
Desired Behavior
when defining your vars - regardless if you have True, true or 1 - it should not register a change
same for False, false, 0
Actual Behavior
A change is always reported if you use anything but 1 or 0 for true/false
STEPS TO REPRODUCE
Using the roles noted above, perform some basic config change like the below
Try setting to False/false and you will notice a change every time.
When using "false" - it is "changed"
When using 0 - it is "ok"