ansible: Speedup playbook execution with pipelining

This commit is contained in:
Alex Willmer 2020-05-12 23:12:16 +01:00
parent f491dda625
commit 9b68599834
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@ deprecation_warnings = false
host_key_checking = false
[ssh_connection]
# Optimisation, speeds up playbook execution by reducing network round trips.
# However, remote systems must not have requiretty set in /etc/sudoers.
pipelining = true
ssh_args =
-o ForwardAgent=yes
-o UserKnownHostsFile=/dev/null