tripleo-quickstart/ansible.cfg
Attila Darazs 7d32b55df7 Use cachable facts to allow multiple runs
* add "cachable: true" to every set_fact invocation to include them in
  the cached facts; most of these are not necessary as they are not used
  outside the roles, but it would be difficult to guess which ones are
  really necessary, so using the shotgun approach to avoid days or weeks
  of debugging
* disable the expiration of facts so that we can rely on them being
  there even if days pass between the reruns
* move the fact cache into the virtual environment directory (this is
  usually the local_working_dir if quickstart.sh is used to set things
  up); there can be some issues when no clean virtenv is created for new
  deployments and resulting in using stale facts

Change-Id: I987d51cc252b7ebc3972d60497234fa676864882
2017-12-05 15:22:11 +01:00

23 lines
1.1 KiB
INI

[defaults]
command_warnings = False
retry_files_enabled = False
callback_whitelist = profile_tasks
host_key_checking = False
gathering = smart
fact_caching = jsonfile
fact_caching_connection = $VIRTUAL_ENV/ansible_facts_cache
fact_caching_timeout = 0
# Attempt to load custom modules whether it's installed system-wide or from a virtual environment
callback_plugins = /usr/lib/python2.7/site-packages/ara/plugins/callbacks:$VIRTUAL_ENV/lib/python2.7/site-packages/ara/plugins/callbacks:/usr/local/lib/python2.7/dist-packages/ara/plugins/callbacks
test_plugins = /usr/lib/python2.7/site-packages/tripleo-quickstart/test_plugins:$VIRTUAL_ENV/usr/local/share/tripleo-quickstart/test_plugins:test_plugins
library = /usr/lib/python2.7/site-packages/tripleo-quickstart/library:$VIRTUAL_ENV/usr/local/share/tripleo-quickstart/library:library
roles_path = roles:$VIRTUAL_ENV/usr/local/share/tripleo-quickstart/roles:$VIRTUAL_ENV/usr/local/share/ansible/roles
[ssh_connection]
pipelining = False
control_path = %(directory)s/%%h-%%r
ssh_args = -o ControlMaster=auto -o ControlPersist=270s -o ServerAliveInterval=30 -o GSSAPIAuthentication=no
retries = 3