Added yaml stdout for better readability, optimize ssh connections, moved become to correct section
23 lines
736 B
INI
23 lines
736 B
INI
[defaults]
|
|
nocows = True
|
|
roles_path = ./roles
|
|
inventory = ./hosts.ini
|
|
stdout_callback = yaml
|
|
|
|
remote_tmp = $HOME/.ansible/tmp
|
|
local_tmp = $HOME/.ansible/tmp
|
|
timeout = 60
|
|
host_key_checking = False
|
|
deprecation_warnings = False
|
|
callback_whitelist = profile_tasks
|
|
log_path = ./ansible.log
|
|
|
|
[privilege_escalation]
|
|
become = True
|
|
|
|
[ssh_connection]
|
|
scp_if_ssh = smart
|
|
retries = 3
|
|
ssh_args = -o ControlMaster=auto -o ControlPersist=30m -o Compression=yes -o ServerAliveInterval=15s
|
|
pipelining = True
|
|
control_path = %(directory)s/%%h-%%r |