Releases: ansible/ansible-lint
Releases · ansible/ansible-lint
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
v24.2.1
Bugfixes
- Fix error suppression when syntax is incorrect (#4026) @audgirka
- Set global
cache_dir_lock
(#4055) @guppy0130 - [role-name] Handle string role dependencies (#4054) @corubba
- Support for upcoming Ubuntu 24.04 and Fedora 40 (#4051) @mafalb
- Update documentation for syntax-check[unknown-module] (#4049) @ssbarnea
- Add OpenWRT 23.05 to valid versions (#4041) @jonkerj
- Update task name in
notify
for a task againstname[casing]
error (#4038) @audgirka - accept yum history and info as valid commands (#4025) @konstruktoid
- Add attributes for role argument specs (#4018) @felixfontein