Merge pull request #9830 from nathancahill/vars_prompt-no-value

Fix vars_prompt no/false default values
pull/9834/head
Toshio Kuratomi 10 years ago
commit dc8207177e

@ -672,7 +672,7 @@ class PlaybookCallbacks(object):
result = prompt(msg, private) result = prompt(msg, private)
# if result is false and default is not None # if result is false and default is not None
if not result and default: if not result and default is not None:
result = default result = default

Loading…
Cancel
Save