Skip to content

Instantly share code, notes, and snippets.

@pichuang
Last active August 30, 2018 04:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pichuang/4782731ab9ad928a5d5b5afb942aa57d to your computer and use it in GitHub Desktop.
Save pichuang/4782731ab9ad928a5d5b5afb942aa57d to your computer and use it in GitHub Desktop.
Recommended Ansible Configuration
[defaults]
forks = 20
host_key_checking = False
roles_path = roles/
gathering = smart
fact_caching = jsonfile
fact_caching_connection = /tmp/ansible/facts
fact_caching_timeout = 600
log_path = /tmp/ansible.log
nocows = 1
callback_whitelist = profile_tasks
retry_files_enabled = False
#inventory = ./inventory.yml
[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment