You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that AWX is open source software provided for free and that I might not receive a timely response.
Feature type
Enhancement to Existing Feature
Feature Summary
Using an inventory source with an inventory plugin that uses a *.yml for it's configuration works nice but if it requires a password, it should be a vault encrypted string.
Using a vault encrypted string in the yml config works quite nicely with ansible-inventory. I have no issues with it on the command-line.
When I want to use a vault credential in AWX in an inventory source I can not do that. Only custom credentials can be used.
I read in this GitHub issue that you can get it to work with a custom credential but it is pretty much a work around and could be used with a vault credential if ansible-inventory would support vault password prompting:
#223 "Vault passwords are (currently) passed in AWX by prompting via pexpect"
ansible-inventory does support prompting( now) so could this option be added now?
Select the relevant components
UI
API
Docs
Collection
CLI
Other
Steps to reproduce
Configure a vault credential
Create an inventory config
Add an inventory source to the inventory config with source "Sourced from a project"
Try to add a vault credential in the Credentials field. ( You can not)
Current results
A vault credential can't be used in the inventory source config.
Sugested feature result
A vault credential can be selected which will then be used for the inventory plugin config *.yml file to decrypt the vault string.
Please confirm the following
Feature type
Enhancement to Existing Feature
Feature Summary
Using an inventory source with an inventory plugin that uses a *.yml for it's configuration works nice but if it requires a password, it should be a vault encrypted string.
Using a vault encrypted string in the yml config works quite nicely with ansible-inventory. I have no issues with it on the command-line.
When I want to use a vault credential in AWX in an inventory source I can not do that. Only custom credentials can be used.
I read in this GitHub issue that you can get it to work with a custom credential but it is pretty much a work around and could be used with a vault credential if ansible-inventory would support vault password prompting:
#223 "Vault passwords are (currently) passed in AWX by prompting via pexpect"
ansible-inventory does support prompting( now) so could this option be added now?
Select the relevant components
Steps to reproduce
Configure a vault credential
Create an inventory config
Add an inventory source to the inventory config with source "Sourced from a project"
Try to add a vault credential in the Credentials field. ( You can not)
Current results
A vault credential can't be used in the inventory source config.
Sugested feature result
A vault credential can be selected which will then be used for the inventory plugin config *.yml file to decrypt the vault string.
Additional information
Info about the ansible-inventory prompting
#223
The text was updated successfully, but these errors were encountered: