Ansible-lint

Latest version: v25.1.3

Safety actively analyzes 711993 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 17 of 18

5.0.3

Changes

Minor Changes

* Improve risky-shell-pipe rule matching (1453) ssbarnea
* Add optional rule that check for no-same-owner (1450) ssbarnea
* Allow user to specify namespace for standalone roles (1451) ssbarnea
* Add downstream testing pipeline (1434) ssbarnea

Bugfixes

* Undeprecate numeric rule tags (1452) ssbarnea
* Avoid reporting loading errors with vaulted files (1443) ssbarnea

5.0.2

Changes

* Update links to Ansible docs for new site layout (1382) ripleymj

Minor Changes

* Add ability to install v1 requiremets.yml (1385) ssbarnea

Bugfixes

* Fix installation of standalone roles (1397) ssbarnea
* Rewrite ansible version checking (1383) ssbarnea
* Improve ansible version check (1381) ssbarnea
* Disable action validation with tasks by default (1377) ssbarnea
* Add ability to detect molecule base.yml configs (1374) ssbarnea
* Fix file config extra_vars options loading (1372) skarzi
* Avoid same false positives with no-tabs rule (1373) ssbarnea
* Recognize collections.yml files (1371) ssbarnea
* Avoid reporting runtime errors with unknown file types (1370) ssbarnea

5.0.1

Changes

Minor Changes

* Remove obsolete changelog (1362) ssbarnea
* Adds experimental stdin support (1355) ssbarnea
* support extra_vars in syntax check rule (1342) skarzi
* Avoid duplicates when injecting extra ansible lookup paths (1348) joren485
* Fix sentence in usage.rst (1347) joren485

Bugfixes

* Recognize standalone galaxy roles (1363) ssbarnea
* Avoid overriding role paths defaults (1361) ssbarnea
* Fix patterns used to identify var files (1360) ssbarnea
* Fix environment variable name check in for loop (1352) joren485
* Ensure that yamllint config ignore entries are used (1346) felixfontein
* Fix parsing of unicode filenames reported by git ls-files (1339) (1340) phihos
* Correct skip tag for yamllint (1335) ssbarnea
* Fix literal-compare test with when sequences (1332) ssbarnea

5.0.0

Changes

This is a major new version that will surely break for users that have custom rules. It will also require most users to update the way they install the linter as they now need to mention which version of Ansible they want to use it with.

For guidance regarding upgrading please [read the docs](https://ansible-lint.readthedocs.io/en/latest/) and consult https://github.com/ansible-community/ansible-lint/discussions/1150

Please note that the changes listed before do not contain those from the pre-releases made since last stable release, read all.

Minor Changes

* Allow mocking of galaxy roles (1320) ssbarnea
* Add ability to mock roles from within collections (1318) ssbarnea
* Add offline mode for skipping requirements installation (1319) ssbarnea
* Add ability to mock modules from collections (1316) ssbarnea
* Add codeclimate formatter (json) (1308) thushjandan
* Make all rule identifiers text based (1306) ssbarnea
* Drop E suffix when printing rule id (1305) ssbarnea
* Add optional rule to check for loop var prefix (1303) ssbarnea
* Add ability to mock roles (1304) ssbarnea
* Recurse inside given folders (1302) ssbarnea

Bugfixes

* Avoid role-name errors with galaxy roles (1321) ssbarnea
* Avoid false positives with literal-compare (1315) ssbarnea
* Fix exclude_paths regression (1313) ssbarnea
* Avoid exceptions post syntax errors (1310) ssbarnea
* E206: Avoid false positives with multilines (1300) ssbarnea

4.3.7

Changes

Bugfixes

* Avoid crash with None tasks (1048) ssbarnea
* Avoid reporting main role task files as unknown (1087) ssbarnea
* Avoid 208 rule with unarchive module (1089) ssbarnea

4.3.6

Changes

* Prevent rule 208 matche in nomaches example (1068) samueloph
* Enable progressive mode (1065) ssbarnea

Minor Changes

* Show severity in Github Workflow command message (1055) JiriSko

Bugfixes

* Ensure loading of collections and plugins (1074) felixfontein

Page 17 of 18

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.