1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fix non bool path

This commit is contained in:
Brian Coca 2019-03-07 11:23:07 -05:00
parent b2e992cecd
commit b0ddb88f13

View file

@ -156,6 +156,9 @@ def main():
if question not in prev:
changed = True
else:
existing = prev[question]
# ensure we compare booleans supplied to the way debconf sees them (true/false strings)
if vtype == 'boolean':
value = to_text(value).lower()