ci: resolve the Collection's own roles in lint and run ansible-test sanity before a push #126

Merged
Defame1297 merged 4 commits from ci/lint-resolve-own-collection into main 2026-11-14 15:59:29 +00:00
Showing only changes of commit 6b930a0f7e - Show all commits
+4 -4
View File
@@ -34,11 +34,11 @@ def parsed(stdout):
"""{key: value} of the stub's output; `link` may repeat, so it is collected in a list."""
out = {"link": []}
for line in stdout.splitlines():
key, _, value = line.partition("=")
if key == "link":
out["link"].append(value)
parts = line.partition("=")
if parts[0] == "link":
out["link"].append(parts[2])
else:
out[key] = value
out[parts[0]] = parts[2]
return out