1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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

Fix vars_prompt no/false default values
This commit is contained in:
Toshio Kuratomi 2014-12-16 13:42:26 -08:00
commit dc8207177e

View file

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