mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
if a playbook has no vars - still include the global vars
This commit is contained in:
parent
dc35dd99c0
commit
38ea61054f
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ class PlayBook(object):
|
|||
k, v = item.items()[0]
|
||||
vars[k] = v
|
||||
else:
|
||||
vars = play['vars']
|
||||
vars.update(play['vars'])
|
||||
|
||||
vars_prompt = play.get('vars_prompt', {})
|
||||
if type(vars_prompt) != dict:
|
||||
|
|
Loading…
Reference in a new issue