Releases: ansible/ansible-lint
Releases · ansible/ansible-lint
v24.10.0
Enhancements
Bugfixes
- Require ansible-compat>=24.10.0 (#4402)
- Update TaskHasTag example rule used in custom-rules.md (#4401) @cavcrosby
- Add Fedora 41 as a platform in the metadata schema (#4392) @jsf9k
- Fixing the issue "Unfinished sentence in docs/profiles.md #4358" (#4380) @binojmn
- Fix quotes converting free-form syntax to yaml (#4361) @cavcrosby
- Handle FQCN when using import_playbook (#4369) @cavcrosby
- Allow jinja in variable names (#4372) @ssbarnea
- Update rulebook schema (#4373) @ssbarnea
- Fix wonky writing to sarif_file (#4368) @Qalthos
- Fix to avoid spamming syslog with invoked messages (#4353) @tanwigeetika1618
- Pin codecov action to v4.5.0 and update dependabot.yml to ignore v4.6.0 (#4356) @tanwigeetika1618
- Update schema for missing
tags
property to builder v3options
(#4346) @audgirka
v24.9.2
v24.9.1
Bugfixes
- Fix missing MatchErrors due to hash collisions (#4307) @cavcrosby
- Remove requirement of options field in argument_specs.yaml (#4291) @MatthiasKunnen
- Correct use of working directory with ansible-lint github action (#4340) @ssbarnea
- Avoid running application initialization twice (#4335) @ssbarnea
- Handle bare exception case from nested jinja2 vars (#4315) @cavcrosby
- Require ansible-compat>=24.9.1 (#4336) @ssbarnea
- Update execution environment schema (#4334) @ssbarnea
- Add new OEL versions to meta JSON schema (#4312) @mpmurphy-aexp
- Fix for ignoring test / directories by fqcn[deep] rule (#4320) @tanwigeetika1618
Other
- Docs: remove IRC/ML/google.groups remnants (#4322) @Andersson007
v24.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
v24.7.0
Bugfixes
- Fix linting issues within command_instead_of* rules (ruff:D102) (#4252) @alisonlhart
v24.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
v24.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
v24.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
v24.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
v24.2.2
Bugfixes
- Raise exception while accessing rules by index (#4068) @audgirka
- Update spdx license list (#4097) @ssbarnea
- Bump minimal version of black being required (#4089) @ssbarnea
- Add systemctl get-default as acceptable command (#4087) @konstruktoid
- Adding EDA tag to the required galaxy.yml tags (#4077) @alisonlhart