diff --git a/ansible.cfg b/ansible.cfg index bafab4a..12821fe 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,12 +1,23 @@ [defaults] -nocows = True -roles_path = ./roles -inventory = ./hosts.ini +nocows = True +roles_path = ./roles +inventory = ./hosts.ini +stdout_callback = yaml -remote_tmp = $HOME/.ansible/tmp -local_tmp = $HOME/.ansible/tmp -pipelining = True -become = True -host_key_checking = False -deprecation_warnings = False -callback_whitelist = profile_tasks +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 \ No newline at end of file