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

fix vars_prompt no/false values

This commit is contained in:
Nathan Cahill 2014-12-16 13:30:59 -07:00
parent b74a02301b
commit cc5a5978ef

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