From 9b68599834792bd890d3ae7dfe973c3555e343b5 Mon Sep 17 00:00:00 2001 From: Alex Willmer Date: Tue, 12 May 2020 23:12:16 +0100 Subject: [PATCH] ansible: Speedup playbook execution with pipelining --- scripts/ansible/ansible.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/ansible/ansible.cfg b/scripts/ansible/ansible.cfg index bcb5878..0f38bb1 100755 --- a/scripts/ansible/ansible.cfg +++ b/scripts/ansible/ansible.cfg @@ -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