Merge "Change the python interpreter discovery mode." into stable/train

This commit is contained in:
Zuul 2020-01-10 14:52:12 +00:00 committed by Gerrit Code Review
commit b1b4b06aad
1 changed files with 3 additions and 0 deletions

View File

@ -110,6 +110,9 @@ def write_default_ansible_cfg(work_dir,
config.set('defaults', 'fact_caching_connection',
'/var/lib/mistral/ansible_fact_cache')
# Set the interpreter discovery to auto mode.
config.set('defaults', 'interpreter_python', 'auto')
# Expire facts in the fact cache after 7200s (2h)
config.set('defaults', 'fact_caching_timeout', '7200')