Hi, I have a dynamic inventory in my Ansible project, and some of the files it uses are encrypted with Ansible Vault. I want to use this inventory in AWX. The issue is not in the playbooks, but in the inventory itself — specifically, when you go to Inventories → Sources → Add a Project. How can I configure AWX so that it can automatically decrypt these Vault-encrypted files when loading the inventory from the project, without having to put sensitive variables directly into Extra Vars? In other words, how can I securely use a dynamic inventory with Ansible Vault in AWX so that the inventory and its variables are decrypted for the hosts during job runs?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| vault variable is not decrypted when using ansible_vault | 6 | 183 | November 21, 2018 | |
| encrypted strings | 1 | 10 | November 27, 2019 | |
| Ansible vault best practice with AWX | 8 | 638 | February 19, 2021 | |
| Custom Inventory Question | 1 | 9 | April 19, 2018 | |
| Single Encrypted Value | 4 | 32 | November 29, 2017 |