Skip to content

Instantly share code, notes, and snippets.

@mateothegreat
Created April 25, 2020 20:35
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 mateothegreat/ecc94a0f1f041b56c300cfd6de222999 to your computer and use it in GitHub Desktop.
Save mateothegreat/ecc94a0f1f041b56c300cfd6de222999 to your computer and use it in GitHub Desktop.
ansible configuration for speed
[defaults]
host_key_checking = False
retry_files_enabled = False
ansible_python_interpreter=python3
localhost_warning = False
strategy_plugins = plugins/mitogen-0.2.9/ansible_mitogen/plugins/strategy
strategy = mitogen_linear
callback_whitelist = timer, profile_tasks
forks = 50
internal_poll_interval = 0.001
gather_subset = !hardware
gathering = smart
fact_caching_connection = /tmp/facts_cache
fact_caching = jsonfile
fact_caching_timeout = 3600
[ssh_connection]
pipelining = True
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -oStrictHostKeyChecking=no -o PreferredAuthentications=publickey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment