`pipelining = True` was turned on, but runs are no faster
IntermediateTroubleshootingVault, Performance and Execution Behaviour
Answer
Likely causes → The setting is not applied (wrong section or wrong config file), the connection plugin does not use it, or a become method that needs a tty disables it. Some modules, such as copy and template, still need file transfers.
Diagnose →
ansible-config dump --only-changed | grep -i pipelining
ansible web01 -m ping -vvvv | grep -cE 'PUT|sftp'
With pipelining active, simple modules show no PUT of the AnsiballZ file.
Fix → Put the setting in the [ssh_connection] (or [connection]) section of the ansible.cfg that is actually in use, and make sure requiretty is not set in sudoers.
Prevent → Benchmark changes with profile_tasks before and after, instead of guessing.
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