mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 01:03:09 +00:00
fix vars_prompt no/false values
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user