mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Merge pull request #9830 from nathancahill/vars_prompt-no-value
Fix vars_prompt no/false default 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