diff --git a/ansible.cfg b/ansible.cfg index 102e48708..e4c21b5db 100644 --- a/ansible.cfg +++ b/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