ansible.cfg 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # config file for ansible -- http://ansible.com/
  2. # ==============================================
  3. # This config file provides examples for running
  4. # the OpenShift playbooks with the provided
  5. # inventory scripts.
  6. [defaults]
  7. # Set the log_path
  8. #log_path = /tmp/ansible.log
  9. # Additional default options for OpenShift Ansible
  10. forks = 20
  11. host_key_checking = False
  12. retry_files_enabled = False
  13. retry_files_save_path = ~/ansible-installer-retries
  14. nocows = True
  15. remote_user = root
  16. roles_path = roles/
  17. gathering = smart
  18. fact_caching = jsonfile
  19. fact_caching_connection = $HOME/ansible/facts
  20. fact_caching_timeout = 600
  21. callback_whitelist = profile_tasks
  22. inventory_ignore_extensions = secrets.py, .pyc, .cfg, .crt, .ini
  23. # work around privilege escalation timeouts in ansible:
  24. timeout = 30
  25. # Uncomment to use the provided example inventory
  26. inventory = none
  27. [inventory]
  28. # fail more helpfully when the inventory file does not parse (Ansible 2.4+)
  29. unparsed_is_failed=true
  30. # Additional ssh options for OpenShift Ansible
  31. [ssh_connection]
  32. pipelining = True
  33. ssh_args = -o ControlMaster=auto -o ControlPersist=600s
  34. timeout = 10
  35. # shorten the ControlPath which is often too long; when it is,
  36. # ssh connection reuse silently fails, making everything slower.
  37. control_path = %(directory)s/%%h-%%r