infra-nimbus/ansible.cfg
Jakub Sokołowski f41b4af98a
ansible: add become_pass.sh, persistent connections
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-01-22 16:37:38 +01:00

32 lines
888 B
INI

[defaults]
forks = 30
timeout = 30
remote_user = admin
inventory = ./ansible/terraform.py
callback_plugins = ./ansible/callback_plugins
lookup_plugins = ./ansible/lookup_plugins
become_password_file = ./ansible/become_pass.sh
module_name = shell
host_key_checking = false
use_persistent_connections = true
# human-readable stdout/stderr results display
stdout_callback = debug
# Avoid default Python warnings
interpreter_python = auto
# https://github.com/ansible/ansible/issues/56930
force_valid_group_names = ignore
[privilege_escalation]
become = true
become_user = root
[ssh_connection]
# this should speed up exection but might cause issues with sudo
pipelining = True
# necessary for cloning private git repos
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes -o ConnectTimeout=360
[persistent_connection]
command_timeout = 60
connect_retry_timeout = 30