if a playbook has no vars - still include the global vars

pull/304/head
Seth Vidal 13 years ago
parent dc35dd99c0
commit 38ea61054f

@ -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…
Cancel
Save