add better error formatting to ansible

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-04-26 13:41:56 +02:00
parent 5469bb6e94
commit 2cb93c4488
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020

View File

@ -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