2019-03-20 12:35:47 +00:00
|
|
|
[defaults]
|
2019-04-23 18:21:12 +00:00
|
|
|
forks = 30
|
|
|
|
timeout = 30
|
2019-03-20 12:35:47 +00:00
|
|
|
inventory = ./ansible/terraform.py
|
2021-08-17 09:44:57 +00:00
|
|
|
lookup_plugins = ./ansible/lookup_plugins
|
2021-01-25 14:10:25 +00:00
|
|
|
module_name = shell
|
2019-04-23 18:21:12 +00:00
|
|
|
host_key_checking = false
|
|
|
|
# human-readable stdout/stderr results display
|
|
|
|
stdout_callback = debug
|
2020-11-02 14:30:52 +00:00
|
|
|
# Avoid default Python warnings
|
2022-09-08 10:24:14 +00:00
|
|
|
interpreter_python = auto_silent
|
2019-08-02 23:01:57 +00:00
|
|
|
# https://github.com/ansible/ansible/issues/56930
|
2020-11-02 14:30:52 +00:00
|
|
|
force_valid_group_names = ignore
|
2019-03-20 12:35:47 +00:00
|
|
|
|
|
|
|
[privilege_escalation]
|
2021-02-09 19:27:13 +00:00
|
|
|
# Normally, true, false to make it easier as non-admin user.
|
|
|
|
become = false
|
2019-03-20 12:35:47 +00:00
|
|
|
become_user = root
|
|
|
|
|
|
|
|
[ssh_connection]
|
|
|
|
# this should speed up exection but might cause issues with sudo
|
|
|
|
pipelining = True
|
|
|
|
control_path = /tmp/ansible-ssh-%%h-%%p-%%r
|
|
|
|
# necessary for cloning private git repos
|
2021-02-01 12:21:44 +00:00
|
|
|
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes -o ConnectTimeout=360
|