Ansible-lint

Latest version: v24.12.2

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

Scan your dependencies

Page 2 of 18

24.9.0

Enhancements

- Community comms (4309) oraNod
- feat: add `requirements_file` input to GitHub action (4253) dbrennand

Bugfixes

- fix: Adding missing EE option skip_pip_install (4299) sscheib
- Fix upload-artifact action to work with v4.4 and newer (4314) alisonlhart
- fix: Add reset-failed state in executable_options (4301) tanwigeetika1618
- Enable --offline to affect checking version online (4283) cavcrosby
- Fix long lines being wrapped with a trailing space (4288) cavcrosby
- Make galaxy[version-incorrect] rule opt-in (4247) cavcrosby
- Fix error for imported playbooks w/invalid syntax (4289) cavcrosby
- Fix indentation change to comments when using --fix (4273) cavcrosby
- Fix list of non-strings in args rule (4279) johnbyrneio
- Improve --version behavior to handle remote disconnect (4276) cavcrosby
- Ignore var-naming[pattern] to foreign role vars (4230) cavcrosby
- Remove leftover Sphinx command directives (4243) cavcrosby
- Fix custom-rules documentation examples (4264) Tompage1994

24.7.0

Bugfixes

- Fix linting issues within command_instead_of* rules (ruff:D102) (4252) alisonlhart

24.6.1

Bugfixes

- Fix working directory when used as an github action (4213) bkaraoren
- Fix relative imports in args rule (4216) corubba
- Fix cmd args with no-free-form transformer (4215) Qalthos
- Accept changlog.yml as a valid changelog (4218) cavcrosby
- Avoid using warn for command/shell actions (4207) ssbarnea
- Update Contributing docs and add tox as test optional-dependency (4209) hdub-tech

24.6.0

Enhancements

- Adding logic for configuring supported ansible versions (4203) alisonlhart

Bugfixes

- Revert notify related checks, errors, transforms for listen and tests (4205) audgirka
- Improve logic of find_children (4161) ssbarnea
- Pickup correct path component w/ANSIBLE_ROLES_PATH (4176) cavcrosby
- Respect yamllint 'document_start' rule when autofixing yaml (4184) elara-leitstellentechnik
- Avoid displaying upgrade warning when installation is not pip (4204) ssbarnea
- Correctly recognize path with spaces with tokenize (4198) ssbarnea
- Fix false positive reports in is_handler function (4170) MalKeshar
- Avoid exception with conflicting action statements (4195) ssbarnea
- Don't raise name[casing] on handlers with special role syntax (4196) Qalthos
- Refactor tokenize function (4191) ssbarnea
- Avoid stacktrace with unsupported import_playbook syntax (4190) ssbarnea
- Support for 2.15...updating linter. (4144) epacific1
- Don't quote strings that start with 0 when running ansible-lint --fix. (4167) kousu
- Allow inventory to be used for playbook order key (4182) ssbarnea

24.5.0

Enhancements

- Add subdirectories to be part of the task prefix (4143) cavcrosby
- Prevent execution with incompatible yamllint configuration (4139) ssbarnea
- Continue linting other files when one has syntax-check errors (4133) ssbarnea

Bugfixes

- Make linter aware of its own requirements (4159) ssbarnea
- Allow running with incompatible yamllint config (4158) ssbarnea
- Avoid key exception during transform (4156) ssbarnea
- Raise name[casing] violation for notify task param (4149) cavcrosby
- Allow tabs in win_lineinfile (4147) ssbarnea
- Improve feedback for `fix`, avoid a traceback with transform (4148) cidrblock
- Allow tabs inside jinja strings (4146) ssbarnea
- Avoid reformatting hexadecimal integers (4145) ssbarnea
- Make import_playbook recognize playbooks from within collections (4141) ssbarnea
- Document valid locations for requirements.yml in the docs (4134) shatakshiiii
- Recognize adjacent plugins (4131) ssbarnea
- Support examples for role entrypoints (4019) felixfontein
- Add lower requirements and testing (4130) ssbarnea

24.2.3

Bugfixes

- Make `ignore_unreachable` accept jinja templates (4120) audgirka
- Make fix more resilient to syntax-check errors (4125) ssbarnea
- Don't inject CWD parent into PATH (4108) garymm
- Do not assume working_directory is github.workspace (4103) ajfabbri
- Fix yaml rules being included regardless of tags (4107) cavcrosby
- Allow jinja2 expression for choices field (4117) cavcrosby
- Update `order` schema to work with jinja template (4121) audgirka
- Fix KeyError on `key-order` rule with blocks (4116) Qalthos
- Avoid running get_app more than once (4115) ssbarnea
- Avoid NameError if there is no notify keyword to update (4113) Qalthos
- Add AstraLinux platform identification (4111) dentist128

Page 2 of 18

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.