mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #9830 from nathancahill/vars_prompt-no-value
Fix vars_prompt no/false default values
This commit is contained in:
commit
dc8207177e
1 changed files with 1 additions and 1 deletions
|
@ -672,7 +672,7 @@ class PlaybookCallbacks(object):
|
||||||
result = prompt(msg, private)
|
result = prompt(msg, private)
|
||||||
|
|
||||||
# if result is false and default is not None
|
# if result is false and default is not None
|
||||||
if not result and default:
|
if not result and default is not None:
|
||||||
result = default
|
result = default
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue