`ERROR: Ansible requires the locale encoding to be UTF-8; Detected ISO8859-1.`
BeginnerTroubleshootingVault, Performance and Execution Behaviour
Answer
Likely causes → Since ansible-core 2.14, the controller refuses to run under a non-UTF-8 locale. This is common in minimal containers, cron jobs and CI runners with LANG unset.
Fix →
export LANG=C.UTF-8 LC_ALL=C.UTF-8
Set these in the Dockerfile ENV, in the CI job environment, or in the cron entry.
Prevent → Set the locale in your controller and execution environment images.
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