1f07924cd2
Fact caching will improve general Ansible performance by default. This has the biggest performance gain on very large environments. This implementation will use the JSONfile configuration because it has no new dependencies and will provide a similar performance gain as noted through the use of Redis. Notes: * The facts can purged or read by interacting with the default JSON file. * The caching behavior can be turned off by removing the parameter fact_caching from the playbook/ansible.cfg file. DocImpact UpgradeImpact Co-Authored-By: Kevin Carter <kevin.carter@rackspace.com> Implements: blueprint build-facts-archive Closes-Bug: 1498111 Change-Id: I95ab1c2f8567d6af68feb53d7c14b8997eef5c89
26 lines
552 B
INI
26 lines
552 B
INI
[defaults]
|
|
# Additional plugins
|
|
lookup_plugins = plugins/lookups
|
|
filter_plugins = plugins/filters
|
|
action_plugins = plugins/actions
|
|
|
|
gathering = smart
|
|
|
|
# Fact caching
|
|
fact_caching = jsonfile
|
|
fact_caching_connection = /etc/openstack_deploy/ansible_facts
|
|
fact_caching_timeout = 86400
|
|
|
|
hostfile = inventory
|
|
host_key_checking = False
|
|
|
|
# Set color options
|
|
nocolor = 0
|
|
|
|
# SSH timeout
|
|
timeout = 120
|
|
|
|
[ssh_connection]
|
|
pipelining = True
|
|
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o TCPKeepAlive=yes -o ServerAliveInterval=5 -o ServerAliveCountMax=3
|