Open luigiaparicio opened 6 years ago
Would be nice if default ansible config is replace with the example shown in: https://docs.openshift.com/container-platform/3.10/scaling_performance/install_practices.html#scaling-performance-install-optimization
/etc/ansible/ansible.cfg
Like this:
# config file for ansible -- http://ansible.com/ # ============================================== [defaults] forks = 20 host_key_checking = False remote_user = root roles_path = roles/ gathering = smart fact_caching = jsonfile fact_caching_connection = $HOME/ansible/facts fact_caching_timeout = 600 log_path = $HOME/ansible.log nocows = 1 callback_whitelist = profile_tasks [privilege_escalation] become = False [ssh_connection] ssh_args = -o ControlMaster=auto -o ControlPersist=600s -o ServerAliveInterval=60 control_path = %(directory)s/%%h-%%r pipelining = True timeout = 10
Hey Luigi, good point. Some option is default in /etc/ansible/ansible.cfg but we can add the ones for faster connection such as fact_caching and ssh connection
Thanks!
Would be nice if default ansible config is replace with the example shown in: https://docs.openshift.com/container-platform/3.10/scaling_performance/install_practices.html#scaling-performance-install-optimization
/etc/ansible/ansible.cfg
Like this: