Skip to content

Commit

Permalink
More
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed May 19, 2021
1 parent 34c5583 commit 0ea7f03
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ansiblelint/rules/NoLogPasswordsRule.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,4 @@ def matchtask(
# No no_log and no_log: False behave the same way
# and should return a failure (return True), so we
# need to invert the boolean
return bool(
has_password and not convert_to_boolean(task.get('no_log', False))
)
return bool(has_password and not convert_to_boolean(task.get('no_log', False)))

0 comments on commit 0ea7f03

Please sign in to comment.