Skip to content

Commit

Permalink
fix non bool path
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoca committed Mar 7, 2019
1 parent b2e992c commit b0ddb88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/ansible/modules/system/debconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b0ddb88

Please sign in to comment.