Skip to content

Commit 33f9a5c

Browse files
committed
Package Latest: Ignore Blocks When Download Only
1 parent dbd9a8b commit 33f9a5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ansiblelint/rules/package_latest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,6 @@ def matchtask(
8181
and not task["action"].get("version")
8282
and not task["action"].get("update_only")
8383
and not task["action"].get("only_upgrade")
84+
and not task["action"].get("download_only")
8485
and task["action"].get("state") == "latest"
8586
)

0 commit comments

Comments
 (0)