-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Credential id not sent to awx when set #790
Comments
the credentials is a custom credential type not an awx native one |
Interesting. We'll take a look. Thanks for reporting ! |
I can confirm, I see this as well. Both adding the int directly like @delloos did and {{ request.instance.spec.cred }} (which I made during testing). Squest: 2.6.0 |
Is your operation set to auto process ? |
Seems to be only present when the operation is set to auto process. |
Done and merged in dev branch |
Describe the bug
I have an operation with specific awx credentials with id "5", the id of my credentials. My awx job templates is set without credentials but with "ask credential on launch".
The field "Default credentials ids" in the operation page is not sent when launching the operation, AWX does not see any credentials provided. it is like the field is totally ignored. If i call my job template from awx and credentials set when asked, the credential appears well in the job but not when calling from SQuest.
My job templates are created with the AWX API automatically (i know there is some problems with this way, like some missing attributes in awx objects that can lead to bug, i have another example with min and max value from awx survey when not set for character field)
To Reproduce
Steps to reproduce the behavior:
Create a job templates with empty credentials in awx and the option ask credentials on launch, set credentials ids in the corresponding of an operation in SQuest,
Expected behavior
Send the credential id from the field in the operation detail when calling awx job templates
Screenshots
the field with its value
when calling from SQuest, no credential appears
when calling from awx:
The text was updated successfully, but these errors were encountered: