Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ansible config from Openshift docs (ansible.cfg) #18

Open
luigiaparicio opened this issue Sep 21, 2018 · 1 comment
Open

Add Ansible config from Openshift docs (ansible.cfg) #18

luigiaparicio opened this issue Sep 21, 2018 · 1 comment

Comments

@luigiaparicio
Copy link
Contributor

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

@blues-man
Copy link
Contributor

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants