1
0
mirror of https://github.com/openshift/openshift-ansible.git synced 2026-02-05 15:45:57 +01:00
Files
openshift-ansible/ansible.cfg

46 lines
1.3 KiB
INI
Raw Normal View History

# config file for ansible -- http://ansible.com/
# ==============================================
# This config file provides examples for running
# the OpenShift playbooks with the provided
# inventory scripts.
[defaults]
# Set the log_path
log_path = ~/openshift-ansible.log
# Additional default options for OpenShift Ansible
forks = 20
host_key_checking = False
retry_files_enabled = False
2017-06-13 12:18:24 -04:00
retry_files_save_path = ~/ansible-installer-retries
nocows = True
remote_user = root
2023-04-11 00:58:01 +08:00
remote_tmp = /tmp/.ansible-tmp
roles_path = roles/
gathering = smart
fact_caching = jsonfile
fact_caching_connection = $HOME/ansible/facts
fact_caching_timeout = 600
callback_enabled = profile_tasks
inventory_ignore_extensions = secrets.py, .pyc, .cfg, .crt, .ini
2017-11-01 11:43:08 +01:00
# work around privilege escalation timeouts in ansible:
timeout = 30
2017-12-08 08:42:32 -05:00
# Uncomment to use the provided example inventory
#inventory = inventory/hosts.example
[inventory]
# fail more helpfully when the inventory file does not parse (Ansible 2.4+)
unparsed_is_failed=true
# Additional ssh options for OpenShift Ansible
[ssh_connection]
2019-03-25 12:33:59 -04:00
retries = 15
pipelining = True
ssh_args = -o ControlMaster=auto -o ControlPersist=600s
timeout = 10
# shorten the ControlPath which is often too long; when it is,
# ssh connection reuse silently fails, making everything slower.
control_path = %(directory)s/%%h-%%r