`ERROR! Invalid callback for stdout specified: yaml` after rebuilding the controller
BeginnerTroubleshootingVault, Performance and Execution Behaviour
Answer
Likely causes → stdout_callback = yaml relied on the community.general.yaml callback, which is missing in a minimal ansible-core install, and is deprecated in favour of the built-in result format option.
Fix →
[defaults]
stdout_callback = ansible.builtin.default
callback_result_format = yaml
Prevent → Prefer built-in options over collection callbacks for core behaviour, and keep ansible.cfg in the repo, reviewed like code.
More on Vault, Performance and Execution Behaviour
`ERROR! Attempting to decrypt but no vault secrets found`Beginner`ERROR! Decryption failed (no vault secrets were found that could decrypt) on inventories/prod/group_vars/all/vault.yml`BeginnerBoth `--vault-id [email protected]` and `--vault-id prod@prompt` are passed, and prod files still fail to decryptIntermediate`Vault format unhexlify error: Odd-length string` after pasting an `encrypt_string` valueIntermediate`Problem running vault password script /home/ci/.vault_pass ([Errno 8] Exec format error). If this is not a script, remove the executable bit from the file.`AdvancedEvery change to `vault.yml` produces an unreadable diff and constant merge conflictsIntermediate