Browse Source

Merge "Reduce fact gathering" into stable/train

changes/10/778410/1
Zuul 2 months ago
committed by Gerrit Code Review
parent
commit
7db930fc14
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      tripleo_common/actions/ansible.py

+ 3
- 0
tripleo_common/actions/ansible.py View File

@ -129,6 +129,9 @@ def write_default_ansible_cfg(work_dir,
config.set('defaults', 'fact_caching', 'jsonfile')
config.set('defaults', 'fact_caching_connection',
'~/.ansible/fact_cache')
# NOTE(mwhahaha): only gather the bare minimum facts because this has
# direct impact on how fast ansible can go.
config.set('defaults', 'gather_subset', '!all,min')
# Set the pull interval to lower CPU overhead
config.set('defaults', 'internal_poll_interval', '0.05')


Loading…
Cancel
Save