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 | 149 | November 21, 2018 | |
AWX - Can not sync Inventory from Project Source | 9 | 509 | September 2, 2025 | |
encrypted strings | 1 | 7 | November 27, 2019 | |
Ansible vault best practice with AWX | 8 | 452 | February 19, 2021 | |
AWX Inventory encryption | 2 | 23 | May 6, 2022 |