Releases: ansible/ansible-lint
Releases · ansible/ansible-lint
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
v24.2.0
v6.22.2
Bugfixes
- Fix key error for name[casing] rule (#3987) @ajinkyau
- Allow dashes in legacy role namespaces (#3962) @sur5r
- Use new ansible-compat verbosity levels (#3975) @ssbarnea
- Remove dependency on newer requests library (#3959) @ssbarnea
- Ignore set-property for systemd command (#3949) @alanbbr
- Correct requires_ansible error message (#3954) @ssbarnea
- Improve transformation for
no-free-form
rule (#3945) @ajinkyau - Documentation improvement (#3946) @ssbarnea
- docs: fix grammatical issue in philosophy Q&A section (#3934) @davidhulick
- Update supported versions of ansible (#3930) @ajinkyau
- Fix backward compatibility (#3929) @McSim85
- Fix auto capitalization for name[prefix] rule (#3922) @ajinkyau
- Fix role deps check for detecting path names (#3923) @cavcrosby
- Avoid warnings about PATH with pipx installations (#3920) @ssbarnea
v6.22.1
Bugfixes
- Look for ansible binary in the same path as we are (#3903) @FliegenKLATSCH
- Avoid stacktrace with broken ansible.cfg files (#3916) @ssbarnea
- Avoid jinja[invalid] with ansible.builtin.mandatory filter (#3917) @ssbarnea
- Remove support for deprecated include (#3722) @ssbarnea
- Fix use of versioned github action (#3762) @karl-johan-grahn
- Fix few URLs in README.md (#3915) @ssbarnea
- Correct some usage examples for
package_latest
(#3914) @pablomh - Add option to allow running with missing plugins and collection dependencies (#3913) @ssbarnea
- Avoid warnings from loading of deprecated modules (#3715) @ssbarnea
- Log ignored exception details to debug log (#3900) @bluecmd
- GitHub Action: properly respect the
working_directory
argument (#3905) @ptoscano - Allow to set
max_fail_percentage
as templated integer (#3901) @rebtoor - Fix setuptools-scm versioning (#3887) @ssbarnea
- Add Fedora 39 to
meta.json
(#3893) @jsf9k - Use python 3.10 as primary version target (#3886) @ssbarnea
v6.22.0
Minor Changes
Bugfixes
v6.21.1
v6.21.0
Minor Changes
Bugfixes
- Add support for Rocky (#3843) @facorazza
- Update supported Ubuntu versions in
meta.json
(#3845) @mcdonnnj - Avoid false positives for handler in roles handlers directory (#3838) @ajinkyau
- Hide stacktrace when loading invalid yaml (#3844) @ajinkyau
- Add some platforms to
meta.json
(#3841) @mcdonnnj - Temporary avoid auto-fixing YAML files not owned by ansible (#3837) @ssbarnea
- Add environment variable for skipping schema update (#3835) @ajinkyau
- Avoid creating temporary YAML files inside source tree (#3819) @Qalthos
- Document environment variables (#3833) @ssbarnea
- Update schemas (#3832) @ssbarnea
- Support complex requirements in argument_specs.yml (#3823) @tapetersen
- Fix SARIF-formatter severity levels (#3824) @4ch1m
- Add play level autofix for key-order rule (#3815) @ajinkyau
- Add support for python 3.12 (#3813) @ssbarnea
- Update SPDX license list (#3814) @ssbarnea
- Use checkout action in install docs (#3810) @gma
- Fix actions-tagger arguments (#3808) @ssbarnea