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