Use 'all' for ANSIBLE_VARS_PLUGIN_STAGE
ANSIBLE_VARS_PLUGIN_STAGE=inventory doesn't work with implicit localhost in Ansible 2.11, use 'all' instead. See https://github.com/ansible/ansible/issues/72590 Change-Id: Idc9e36563854b7e6590f74f14774d506c5dbc4c3
This commit is contained in:
parent
c4ecb30d6e
commit
26213f3a11
|
@ -571,7 +571,7 @@ def run_ansible_playbook(playbook, inventory, workdir, playbook_dir=None,
|
|||
|
||||
# Set var handling for better performance
|
||||
env['ANSIBLE_INJECT_FACT_VARS'] = False
|
||||
env['ANSIBLE_VARS_PLUGIN_STAGE'] = 'inventory'
|
||||
env['ANSIBLE_VARS_PLUGIN_STAGE'] = 'all'
|
||||
env['ANSIBLE_GATHER_SUBSET'] = '!all,min'
|
||||
|
||||
if connection == 'local':
|
||||
|
|
Loading…
Reference in New Issue