From 2cb93c44884d9b1ab94df24bab8e1eab31bff122 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Fri, 26 Apr 2019 13:41:56 +0200 Subject: [PATCH] add better error formatting to ansible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ansible.cfg | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ansible.cfg b/ansible.cfg index 7f2020f..b4dc072 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,9 +1,11 @@ [defaults] +forks = 30 +timeout = 30 inventory = ./ansible/terraform.py remote_user = admin -host_key_checking = False -# this is useful when developing roles like infra-role-bootstrap -#roles_path = ../ +host_key_checking = false +# human-readable stdout/stderr results display +stdout_callback = debug [privilege_escalation] become = true @@ -14,6 +16,4 @@ become_user = root pipelining = True control_path = /tmp/ansible-ssh-%%h-%%p-%%r # necessary for cloning private git repos -ssh_args=-o ForwardAgent=yes -# this can be useful when accessing from weird wifi -#ssh_args = -o ForwardAgent=yes -o ProxyCommand='ssh -A -t arael.magi.blue nc %h %p 2>/dev/null' +ssh_args=-o ForwardAgent=yes -o ConnectTimeout=360