mirror of https://github.com/ceph/ceph-ansible.git
Tune ansible.cfg
Based on the OpenShift one: https://docs.openshift.com/container-platform/3.7/scaling_performance/install_practices.html#scaling-performance-install-optimization * Increases number of forks. * Disables host_key_checking * Smart gathering facts * Fact caching jsonfile * Enables profile_tasks callback * Mutliplexes ssh connections (ControlMaster) * Enables pipeliningpull/2450/head
parent
60d4b75f51
commit
3a9d0c5535
11
ansible.cfg
11
ansible.cfg
|
@ -9,6 +9,15 @@ roles_path = ./roles
|
|||
# Be sure the user running Ansible has permissions on the logfile
|
||||
log_path = /var/log/ansible.log
|
||||
|
||||
forks = 20
|
||||
host_key_checking = False
|
||||
gathering = smart
|
||||
fact_caching = jsonfile
|
||||
fact_caching_connection = $HOME/ansible/facts
|
||||
fact_caching_timeout = 600
|
||||
nocows = 1
|
||||
callback_whitelist = profile_tasks
|
||||
|
||||
# Disable them in the context of https://review.openstack.org/#/c/469644
|
||||
retry_files_enabled = False
|
||||
|
||||
|
@ -20,6 +29,8 @@ timeout = 30
|
|||
[ssh_connection]
|
||||
# see: https://github.com/ansible/ansible/issues/11536
|
||||
control_path = %(directory)s/%%h-%%r-%%p
|
||||
ssh_args = -o ControlMaster=auto -o ControlPersist=600s
|
||||
pipelining = True
|
||||
|
||||
# Option to retry failed ssh executions if the failure is encountered in ssh itself
|
||||
retries = 5
|
||||
|
|
Loading…
Reference in New Issue