ansible/awx

awx collection: allow select credential_type of a credential for JT and WFJT

Open

#13,546 opened on Feb 9, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (3,333 forks)batch import
communitycomponent:awx_collectionhelp wanted

Repository metrics

Stars
 (13,071 stars)
PR merge metrics
 (Avg merge 24d 6h) (30 merged PRs in 30d)

Description

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.

Feature type

New Feature

Feature Summary

In AWX you can have N credentials with the same name and you can differentiate through its credential_type when you want to choose it in a JT or WFJT.

However, you can do that through the collection because you can only send it the credential name. It should have the possibility to choose the credential type as well as the credential name-

Select the relevant components

  • UI
  • API
  • Docs
  • Collection
  • CLI
  • Other

Steps to reproduce

Create two credentials with the same name but different types. You try to create a JT through the collection with this credential name.

Current results

The collection task will fail.

Sugested feature result

It should be able to choose the credential type with the collection and then, it won't fail.

Additional information

No response

Contributor guide