diff --git a/lib/ansible/callbacks.py b/lib/ansible/callbacks.py index a4b62fb005..21ca4a49c9 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