Merge "Drop inject_facts_as_vars" into stable/train

This commit is contained in:
Zuul 2021-03-26 11:53:06 +00:00 committed by Gerrit Code Review
commit 2c3d4457a3
1 changed files with 2 additions and 0 deletions

View File

@ -132,6 +132,8 @@ def write_default_ansible_cfg(work_dir,
# NOTE(mwhahaha): only gather the bare minimum facts because this has # NOTE(mwhahaha): only gather the bare minimum facts because this has
# direct impact on how fast ansible can go. # direct impact on how fast ansible can go.
config.set('defaults', 'gather_subset', '!all,min') config.set('defaults', 'gather_subset', '!all,min')
# NOTE(mwhahaha): this significantly affects performation per ansible#73654
config.set('defaults', 'inject_facts_as_vars', 'false')
# Set the pull interval to lower CPU overhead # Set the pull interval to lower CPU overhead
config.set('defaults', 'internal_poll_interval', '0.05') config.set('defaults', 'internal_poll_interval', '0.05')