mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-06-14 14:20:56 +02:00
fix lint
This commit is contained in:
parent
e914886441
commit
883ae58e60
|
@ -16,7 +16,7 @@ class CheckBecomeUser(StandardBase):
|
|||
if not errors:
|
||||
gen = (task for task in tasks if "become" in task)
|
||||
for task in gen:
|
||||
if task["become"] in true_value and "become_user" not in task.keys():
|
||||
if task["become"] in true_value and "become_user" not in task:
|
||||
errors.append(self.Error(task["__line__"], self.helptext))
|
||||
|
||||
return self.Result(candidate.path, errors)
|
||||
|
|
Loading…
Reference in New Issue
Block a user