1
0
Fork 0
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:
Seth Vidal 2012-05-03 15:52:02 -04:00
parent dc35dd99c0
commit 38ea61054f

View file

@ -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: