Skip to content

Commit 4193db1

Browse files
amayer5125audgirka
authored andcommitted
Package Latest: Ignore Blocks When Download Only
1 parent 0db47e4 commit 4193db1

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)