With `strategy: free`, a task that reads `hostvars['db01'].db_ready` fails on some runs
AdvancedTroubleshootingVault, Performance and Execution Behaviour
Answer
Likely causes → free lets each host run ahead on its own, so a web host can reach its task before db01 has set db_ready. With the default linear strategy, every host finishes task N before any host starts task N+1.
Fix → Split the work into separate plays (database first, then web), or keep the play linear. Use free only for plays whose hosts do not depend on each other.
Prevent → Treat cross-host dependencies (hostvars, delegate_to another inventory host, run_once results) as a sign that free is not appropriate.
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