fix(ansible): wire vault_password_file to repo-root .vault_pass

Both ansible.cfg files lacked vault_password_file, causing
'Attempting to decrypt but no vault secrets found' when running any
playbook that auto-loads the encrypted group_vars/all/ files.

- ansible.cfg (root): vault_password_file = .vault_pass
- infrastructure/ansible.cfg: vault_password_file = ../.vault_pass

.vault_pass is gitignored. Each machine needs its own copy.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
chrisfu 2026-05-27 21:05:49 -07:00
parent c1d2a91991
commit 9571f42568
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ roles_path = infrastructure/roles
collections_paths = infrastructure/collections
interpreter_python = auto_silent
deprecation_warnings = False
vault_password_file = .vault_pass
callback_plugins = lib/ansible/plugins/callback
callbacks_enabled = run_logger
stdout_callback = default

View File

@ -5,6 +5,7 @@ inventory = inventory/hosts.ini
roles_path = roles
collections_paths = collections
interpreter_python = auto_silent
vault_password_file = ../.vault_pass
callback_plugins = ../lib/ansible/plugins/callback
callbacks_enabled = run_logger
# For Ansible < 2.13, we use community.general.yaml