chore: ⚡ Multiple configuration changes (#144)
Added yaml stdout for better readability, optimize ssh connections, moved become to correct section
This commit is contained in:
parent
b1fee44403
commit
6b37ba5e60
31
ansible.cfg
31
ansible.cfg
@ -1,12 +1,23 @@
|
|||||||
[defaults]
|
[defaults]
|
||||||
nocows = True
|
nocows = True
|
||||||
roles_path = ./roles
|
roles_path = ./roles
|
||||||
inventory = ./hosts.ini
|
inventory = ./hosts.ini
|
||||||
|
stdout_callback = yaml
|
||||||
|
|
||||||
remote_tmp = $HOME/.ansible/tmp
|
remote_tmp = $HOME/.ansible/tmp
|
||||||
local_tmp = $HOME/.ansible/tmp
|
local_tmp = $HOME/.ansible/tmp
|
||||||
pipelining = True
|
timeout = 60
|
||||||
become = True
|
host_key_checking = False
|
||||||
host_key_checking = False
|
deprecation_warnings = False
|
||||||
deprecation_warnings = False
|
callback_whitelist = profile_tasks
|
||||||
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
|
||||||
Loading…
Reference in New Issue
Block a user