Unexpected reported change for credential module in combination with GUI #15671
Labels
community
component:awx_collection
issues related to the collection for controlling AWX
needs_triage
type:bug
Please confirm the following
[email protected]
instead.)Bug Summary
Setting up a credential in the AAP GUI and then running a playbook using the credential module with the same parameters describing the credential and using "update_secrets: false" reports back "changed" on the first run, "ok" on rerun.
AWX version
awx.awx collection version 24.6.1; AAP controller v4.5
Select the relevant components
Installation method
N/A
Modifications
no
Ansible version
ansible [core 2.16.12]
Operating system
No response
Web browser
Firefox, Chrome
Steps to reproduce
Expected results
Setting up a credential in the GUI and then running a playbook using the credential module with the same parameters describing the credential and using "update_secrets: false" reports back "ok" on any run.
Actual results
Setting up a credential in the GUI and then running a playbook using the credential module with the same parameters describing the credential and using "update_secrets: false" reports back "changed" on the first run, "ok" on rerun.
Additional information
I originally created an issue to the infra.aap_configuration.credentials role and was pointed here. I have verified that the change is reported first time using the
awx.awx.credential
and theansible.controller.credential
module directly using below test playbook (I tested the initial setup of the credential via GUI with Firefox and Chrome). I only had an AAP available for testing.Test playbook:
The text was updated successfully, but these errors were encountered: