mateothegreat
4/25/2020 - 8:35 PM

ansible configuration for speed

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