diff --git a/lib/ansible/callbacks.py b/lib/ansible/callbacks.py index a4b62fb0054..21ca4a49c95 100644 --- a/lib/ansible/callbacks.py +++ b/lib/ansible/callbacks.py @@ -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