From cc5a5978ef7642137b2d439c410345e86fa211ed Mon Sep 17 00:00:00 2001 From: Nathan Cahill Date: Tue, 16 Dec 2014 13:30:59 -0700 Subject: [PATCH] fix vars_prompt no/false values --- lib/ansible/callbacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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