-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathansible.cfg
31 lines (28 loc) · 888 Bytes
/
ansible.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[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