Releases: ansible/ansible-lint
Releases · ansible/ansible-lint
v6.16.1
Bugfixes
- Update lock file to use ansible-core 2.15.0 (#3449) @ssbarnea
- Install requirements from galaxy.yml and tests/requirements.yml (#3446) @ssbarnea
- Add Kali Linux as a supported platform (#3448) @mcdonnnj
- Do not trigger no_handler upon complex conditions (#3437) @klaus-tux
- Hide warning about unique filter originating from core (#3436) @ssbarnea
- Relax ruamel-yaml requirements (#3433) @ssbarnea
- Suggest correct alternative for
with_filetree
(#3432) @ErwinJanssen - Upgrade var-naming rule to include role name prefix (#3422) @ssbarnea
- Fix exception when using reformatting on scalars (#3423) @ssbarnea
- Find and lint imported playbooks (#3413) @ajinkyau
v6.16.0
Minor Changes
- Capture python warnings and report some of them as matches (#3324) @ssbarnea
- Capture and hide ansible core warnings by default (#3361) @ssbarnea
- Remove progressive mode (#3350) @ssbarnea
- Enforce use of lineno variable name inside the library (#3326) @ssbarnea
Bugfixes
- Add Amazon Linux 2023 as a supported platform (#3405) @artis3n
- Capture python warnings and report some of them as matches (#3324) @ssbarnea
- Fix missing required arguments issue from args rule (#3402) @ajinkyau
- Change matchtask to receive a Task instance (#3403) @ssbarnea
- Require ruamel.yaml>=0.17.24 (#3406) @ssbarnea
- Avoid exception when trying to load invalid text files (#3399) @ssbarnea
- Fix ansible collection path detection (#3398) @ssbarnea
- ruff: Address FBT002 (#3389) @shatakshiiii
- More pathlib adoption (#3390) @ssbarnea
- Avoid dropping comments on YAML transformation (#3392) @ssbarnea
- Correct docs on navigator schema location (#3394) @yajo
- Fix changelog schema for connection plugins (#3388) @Qalthos
- Migrate from os.path to pathlib (#3384) @ssbarnea
- Remove resolvelib from requirements lock (#3387) @ssbarnea
- Make cwd use pathlib (#3383) @ssbarnea
- ruff: Address PGH (#3380) @ssbarnea
- ruff: Address A (#3379) @ssbarnea
- ruff: Address B (#3377) @ssbarnea
- ruff: Address SLF (#3372) @ssbarnea
- ruff: Address
SIM
(#3373) @shatakshiiii - ruff: Address EXE (#3367) @ssbarnea
- ruff: Address BLE (#3368) @shatakshiiii
- ruff: Address INP and PLW (#3366) @ssbarnea
- Add initial handling of submodules to contribution docs (#3362) @klaus-tux
- ruff: Address T and RET (#3364) @ssbarnea
- Find "changed" not only in first "when" condition (#3358) @klaus-tux
- ruff: fix S rule (#3363) @ssbarnea
- Make MatchError a dataclass (#3345) @ssbarnea
- Remove
EM
from ruff ignores (#3356) @shatakshiiii - Mock jinja filters to prevent templating errors (#3355) @ssbarnea
- Update schema files (#3354) @ssbarnea
- Add Fedora 38 to meta.json schema file (#3353) @Marek-Mantaj-Mobica
- Remove
RUF
from ruff ignores (#3346) @ajinkyau - Remove
G
from ruff ignores (#3332) @shatakshiiii - Remove
ISC
from ruff ignores (#3342) @shatakshiiii - Remove
C
from ruff ignores (#3343) @ajinkyau - Make linter configuration a dataclass (#3334) @ssbarnea
- Remove
N
from ruff ignores (#3328) @shatakshiiii - Remove useless . from additional_dependencies in pre-commit hook (#3327) @trallnag
v6.15.0
Minor Changes
- Add ability to auto-fix fcqn rule violations (#3316) @MarkusTeufelberger
- Document how to avoid vault related errors (#3313) @ssbarnea
- Require at least one known subfolder for roles (#3303) @ssbarnea
Bugfixes
- Ensure that JSON output does not contain newlines (#3315) @ssbarnea
- Improve description of task names (#3314) @ssbarnea
- Fix config path detection logic (#3312) @ssbarnea
- Improve tests related to vault processing (#3306) @ssbarnea
- Avoid running args rule if we encounter a windows module (#3305) @ajinkyau
- Ensure non zero exit code when no files are linted (#3302) @ssbarnea
- Refactor exit codes to use an enum (#3300) @ssbarnea
- Ensure profile rules do not have experimental or opt-in tag (#3299) @ssbarnea
- Change logging to use rich output (#3297) @ssbarnea
- Refactor project root directory detection code (#3295) @ssbarnea
- Remove flake8 and pyupgrade (#3292) @ssbarnea
- Extend ruff checks (#3291) @ssbarnea
- Send GHA annotations to stderr (#3288) @ssbarnea
- Fix Schema validation for variables in tasks/vars directory (#3289) @ajinkyau
- Recognize ansible collections installed at system level (#3286) @ssbarnea
v6.14.6
Bugfixes
- Update schema to add some of the missing rules (#3274) @shatakshiiii
- Use temporary playbooks to check role syntax (#3280) @ssbarnea
- Enable ruff linter (#3276) @ssbarnea
- Use fqcn[canonical] in place of fqcn[action-redirect] (#3273) @shatakshiiii
- Refactor tests (#3271) @ssbarnea
- Refactor no-relative-paths tests (#3270) @ssbarnea
- Minor fixes for no-handler rule (#3269) @ssbarnea
- name[casing]: Add transform to automatically fix this during --write (#3268) @ssbarnea
- Remove meta-no-info rule due to being covered by schema[meta] (#3267) @ssbarnea
- Ignore unknown sections under changes key on changelogs (#3262) @ssbarnea
- Add current FreeBSD and OpenBSD versions (#3260) @rkrieger
- Ensure playbook path is absolute (#3250) @ssbarnea
- Updated 'kind' message if file kind is unknown (#3247) @ajinkyau
- Rename arg-spec schema file to clarify it applies to roles only (#3243) @ssbarnea
v6.14.5 (yanked)
Bugfixes
- Use fqcn[canonical] in place of fqcn[action-redirect] (#3273) @shatakshiiii
- Refactor tests (#3271) @ssbarnea
- Refactor no-relative-paths tests (#3270) @ssbarnea
- Minor fixes for no-handler rule (#3269) @ssbarnea
- name[casing]: Add transform to automatically fix this during --write (#3268) @ssbarnea
- Remove meta-no-info rule due to being covered by schema[meta] (#3267) @ssbarnea
- Ignore unknown sections under changes key on changelogs (#3262) @ssbarnea
- Add current FreeBSD and OpenBSD versions (#3260) @rkrieger
- Ensure playbook path is absolute (#3250) @ssbarnea
- Updated 'kind' message if file kind is unknown (#3247) @ajinkyau
- Rename arg-spec schema file to clarify it applies to roles only (#3243) @ssbarnea
v6.14.4
Bugfixes
- Document that no-changed-when also applies to handlers (#3237) @ssbarnea
- Update navigator schema (#3236) @ssbarnea
- Update no-handler rule to accept 'not changed' (#3230) @jpopelka
- Fix link for usage.md (Linting playbooks and roles) (#3224) @ziegenberg
- Skip PATH checking when pyenv virtualenv is present (#3219) @ajinkyau
- Require yamllint 1.30.3 or newer (#3220) @ssbarnea
v6.14.3
Bugfixes
- Refactor task iterator (part 2) (#3212) @ssbarnea
- Document fix for literal_compare
== False
(#3207) @jemand771 - docs: Provide more information about the dangers of run_once (#3187) @bendem
- Fix sarif output to use 'match.details' in result object, instead of 'match.message' (#3163) @4ch1m
- Allow templated boolean for any_errors_fatal (#3205) @sathieu
- Refactor task iterator to return an object (#3195) @ssbarnea
- Update SPDX license list (#3193) @ssbarnea
- Fix tilde interpolation in PATH (#3185) @fclaerho
- Fix "helpUri" assignment for SARIF output (#3176) @4ch1m
- docs: fix link for rule galaxy[no-runtime] (#3175) @ziegenberg
v6.14.2
v6.14.1
Bugfixes
- Avoid "unable to evaluate string as dictionary" with args rule (#3150) @ssbarnea
- Avoid 'Unrecognized type' errors with jinja rule (#3149) @ssbarnea
- Allow 'use' parameter with service module (args) (#3147) @ssbarnea
- Change schema $id to be a valid URL (#3146) @ssbarnea
- Document skip_ansible_lint does not work with yamllint rule (#3144) @ssbarnea
- Update schema '$id' (#3137) @dericcrago
- Ensure ignored matches are reports as minor in codeclimate output (#3131) @ssbarnea
- Remove unused rules_as_docs (#3130) @ssbarnea
- Remove deprecated nested_items (#3129) @ssbarnea
- Avoid undefined errors from jinja rule (#3127) @ssbarnea
- Refactor processing of module args (#3125) @ssbarnea
v6.14.0
Minor Changes
- Add rulebook schema (#3103) @ssbarnea
- Add sanity rule with check for bad and disallowed ignores (#3102) @alisonlhart
- Remove support for python 3.8 (#3051) @ssbarnea
Bugfixes
- Adding 2.9 ignore allow-list for sanity rule (#3118) @alisonlhart
- Generalize args rule exception handling (#3113) @ajinkyau
- Remove duplicate deprecated-command-syntax rule (#3119) @ssbarnea
- Allow schema refresh to run without installing app (#3117) @ssbarnea
- Removed unused code (#3116) @ajinkyau
- Allow custom rules specific configuration with ansible-lint-config JSON Schema (#3080) @ssato
- Ensure SPDX license list is in sync (#3111) @ssbarnea
- Added support for raw booleans when using complex_conditional (#3109) @ajinkyau
- Make git errors fatal when strict mode is active (#3064) @ssbarnea
- Fix for skipped rules key in yaml rule (#3097) @ajinkyau
- Allow manifest field on galaxy file schema (#3100) @ssbarnea
- Simplify logic for meta-runtime rule (#3089) @ajinkyau
- Removed lines not required for code coverage (meta-no-info rule) (#3094) @ajinkyau
- Remove "mode: preserve" from risky file perms doc, add copy example (#3078) @jamescooke
- Improved ignore file handling (#3075) @4ch1m
- fix exclude-path test (#3071) @4ch1m
- Avoid jinja rule triggering with mutually exclusive arguments (#3060) @ssbarnea
- Avoid reformatting of strings with line feeds and no jinja (#3059) @ssbarnea
- Change CodeClimate severity to expose error or warning levels (#3057) @ssbarnea
- Avoid 'not defined' with jinja rule (#3056) @ssbarnea
- Avoid 'is undefined' error with jinja rule (#3055) @ssbarnea
- Document output formats (#3054) @ssbarnea
- Allow /dev/null to be passed as config file (#3053) @ssbarnea