mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-28 15:50:35 +00:00
fix: wrong check for candidates faulty flag
This commit is contained in:
parent
d7d50ead10
commit
b560222281
@ -89,7 +89,7 @@ def get_normalized_tasks(candidate, settings, full=False):
|
||||
normalized = []
|
||||
errors = []
|
||||
|
||||
if candidate.faulty:
|
||||
if not candidate.faulty:
|
||||
try:
|
||||
with codecs.open(candidate.path, mode="rb", encoding="utf-8") as f:
|
||||
yamllines = parse_yaml_linenumbers(f, candidate.path)
|
||||
|
Loading…
Reference in New Issue
Block a user