Releases: ansible/ansible-lint
Releases · ansible/ansible-lint
v6.20.3
Bugfixes
- Fix wget command arguments in github action (#3806) @ssbarnea
- Update some platform versions in meta.json (#3800) @masoud-maghsoudi
v6.20.2
Bugfixes
- Do not use github action path for running ansible lint (#3798) @ReenigneArcher
- Correct listing of autofix rules in documentation (#3797) @ssbarnea
- Make the autofix rule list dynamic in documentation (#3785) @shatakshiiii
- Fix documentation links to autofix page (#3796) @ssbarnea
- Bump test dependencies (#3795) @ssbarnea
- Correct documentation regarding CLI argument precedence (#3792) @ssbarnea
- Document autofix ability for rules that supports it (#3791) @ssbarnea
- Accept underline prefix when checking var-naming (#3789) @ssbarnea
- Correct regression with use of --fix (#3783) @ssbarnea
v6.20.1
Bugfixes
- Fix detection of play roles vars missing prefix (#3765) @cavcrosby
- Prune reported errors after autofix (#3774) @cidrblock
--fix
will now default toall
(#3777) @ajinkyau- Avoid false error caused by TypeError with jinja rule (#3773) @ssbarnea
- Sanity Rule Ignore Additions and Updates (#3766) @alisonlhart
- Update rulebook schema (name is now required) (#3776) @ssbarnea
- Expose rules that have autofix capability in docs (#3770) @shatakshiiii
- List all the fixable rules in CLI via
--list-rules
(#3737) @shatakshiiii - Include level in SARIF results (#3758) @ssbarnea
- Meta runtime supported version update (#3755) @alisonlhart
v6.20.0
Minor Changes
- Respect cgroup CPU limits when running inside containers (#3749) @ssbarnea
- Rename --write option to --fix (#3748) @ssbarnea
- Add auto-fixing implementation for
no-free-form
rule (#3725) @ajinkyau - Add auto-fixing implementation for
partial-become
rule (#3692) @shatakshiiii - Add auto-fixing implementation for
no-jinja-when
rule (#3721) @shatakshiiii
Bugfixes
- Fix the detection of role vars missing role prefix (#3750) @cavcrosby
- Clarify auto-fix arguments use (#3751) @ssbarnea
- Avoid IndexError exception with jinja transform (#3747) @ssbarnea
- Fix docs typo (#3746) @ssbarnea
- Add /bin/bash executable to example correct code for pipefail rule (#3731) @Perdu
- Properly avoid
pipx
venv path to be included in altered path warning (#3730) @chrysle - Fix transform exception with local_action with old syntax (#3743) @ssbarnea
- Support only_upgrade (#3734) @soroshsabz
v6.19.0
Minor Changes
- Add auto transform for no-log-password rule (#3708) @ajinkyau
- Add auto-fixing implementation for key-order[task] rule (#3705) @ajinkyau
- Add auto-fixing implementation for
jinja[spacing]
rule (#3691) @ajinkyau - Make schema validation messages more explicit (#3701) @ssbarnea
- Transform for deprecated-local-action rule (#3689) @ajinkyau
Bugfixes
- Require ansible-compat>=4.1.10 (#3723) @ssbarnea
- Skip altered path warning for
ansible-lint
installed bypipx
(#3720) @chrysle - Update transform for
key-order
rule (#3719) @ajinkyau - Allow installation of pre-release collection version as dependencies (#3716) @ssbarnea
- Avoid deprecated-bare-vars false positive with file paths (#3709) @ssbarnea
- Limit sequence-of-sequence indents to a single space (#3671) @Qalthos
- Avoid no-handlers false positives (#3702) @ssbarnea
- Add missing word to risky-shell-pipe docs (#3704) @roock
- Avoid yamllint truthy violations with github workflows (#3698) @ssbarnea
- Avoid false positive with var-name rule on roles (#3697) @ssbarnea
- Include links to documentation for schema validation errors (#3684) @ssbarnea
- Schema update (#3693) @cidrblock
- Use yaml.load_all for multiple yaml document (#3679) @shatakshiiii
- Ignore user configured value for any_unparsed_is_failed (#3680) @ssbarnea
- Update rulebook schema (#3681) @ssbarnea
v6.18.0
Minor Changes
- Limit the maximum block depth (#3602) @Ruchip16
- Transform functionality for command_instead_of_shell (#3675) @ajinkyau
- Add rule to check the number of tasks (#3156) @Ruchip16
Bugfixes
- Clarify loop-var-prefix rule and code snippet (#3642) @schwarmco
- Update
version_added
for complexity rule (#3623) @ajinkyau - Ensure that single space between tasks is preserved when using --write (#3641) @shatakshiiii
- Update ansible-compat used for testing (#3664) @ssbarnea
- Document
yaml[line-length]
rule (#3653) @shatakshiiii - Prevent use of spdx-tools 0.8.0 due to breaking changes (#3649) @ssbarnea
- fixes dead marketplace link (#3631) @wookietreiber
- Improve profile information on summary line (#3637) @ziegenberg
- command-instead-of-module: allow
git rev-parse
(#3610) @JohnVillalovos - Include filepaths starting from $HOME in lintables (#3621) @shatakshiiii
- Update _mockings.py to fix bug created in #3390 (#3614) @karcaw
- Allow to set gather_facts as templated boolean (#3606) @noonedeadpunk
- Add dependency version check for collection metadata (#3601) @ajinkyau
- Fix installation of dependencies when run as an action (#3592) @ssbarnea
v6.17.2
Bugfixes
- Allow use as a reusable github action (#3513) @ssbarnea
- Add action and args properties to task class (#3576) @ssbarnea
- Fixed error when sarif file option is provided (#3587) @ajinkyau
- Add NetBSD as a recognized platform (#3586) @he32
- Display ansible-compat version alongwith with other deps (#3584) @ajinkyau
- Refactored syntax-checking (#3568) @ssbarnea
- Avoid app reinitialization during syntax-check (#3563) @ssbarnea
- Allow config file to have
.yaml
extension (#3559) @bdsoha - Allow lists of lists of strings for vars_files (#3561) @ajinkyau
v6.17.1
Bugfixes
- Update guess install method check (#3553) @ajinkyau
- Fix exclude logic bug that can cause cause partial linting (#3552) @ssbarnea
- Make profile information on summary line more clear (#3545) @ssbarnea
- Avoid adding pip related messages if installation method is different (#3551) @ajinkyau
- Avoid false positive with var-naming[no-role-prefix] (#3550) @ssbarnea
- Make refresh_schemas handle firewalls that cut the file transfer midway (#3546) @sverrehu
- Rename marketplace action (#3548) @ssbarnea
- Fix action name (#3536) @coaxial
- Handling of exclude paths with trailing slashs (#3527) @hille721
- Ensure that rules collections use Runtime in offline mode (#3526) @ssbarnea
- Avoid using get_app() from inside the rule (#3525) @ssbarnea
- Avoid dependency error from rich (#3517) @ssbarnea
v6.17.0
Minor Changes
Bugfixes
- Reimplement file exclusion logic (#3507) @ssbarnea
- Check validity of 'become_method' values from code (#3499) @ajinkyau
- Fix role_name_ prefix include_role var name error (#3500) @ajinkyau
- Hide pip error if not present (#3494) @Et7f3
- Update formatter to avoid reporting paths with .. (#3496) @ssbarnea
- Remove false positive on 'cacheable' property of set_fact (#3490) @ajinkyau
- Add missing become_method plugins to the schema (#3484) @ajinkyau
- Add support for ansible-builder v3 schema (#3480) @ajinkyau
- Add Github Marketplace Action (#3476) @ssbarnea
- Add oracle linux 8.8 (#3479) @facorazza
- Revert ansible-compat vendoring (#3478) @ssbarnea
- Updated file or dir not found message (#3474) @ajinkyau
- Check for included role prefix instead of current one (#3473) @ssbarnea
v6.16.2
Bugfixes
- Update test dependencies (#3470) @ssbarnea
- Fix and document installing of requirements.yml files (#3471) @ssbarnea
- Do not ever exclude files given as arguments (#3468) @ssbarnea
- Ensure we return error if argument gives are not present (#3467) @ssbarnea
- Allow rules to expose all tags they can produce (#3464) @ssbarnea
- Enable var-name rule to detect read-only variables (#3462) @ssbarnea
- Add Oracle Enterprise Linux 7.* (#3463) @Rylon
- Fix for var-naming rule to not break on include_tasks and vars (#3458) @ajinkyau
- var-naming now prevents use of Ansible reserved names (#3460) @ssbarnea
- Ensure that we also lint files from git submodules (#3431) @ssbarnea
- Adding 2.16 to the list of allowed ansible-core versions in meta-runtime rule (#3455) @alisonlhart