Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PyUP] Update ansible-lint to 25.1.3 #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link
Collaborator

This PR updates ansible-lint from 6.10.0 to 25.1.3.

Changelog

25.1.3

Bugfixes

- Allow use with readonly virtualenvs (4526) ssbarnea
- Add git clean to allowed executable options (4519) s-hertel
- Fix failing `ansible-lint` CI job (4520) aphedges
- Add .ansible to the implicit ignore list (4518) ssbarnea
- Avoid unnecessary warning when meta/runtime.yml is null (4514) ssbarnea

25.1.2

Bugfixes

- Require ansible-compat>=25.1.2 (4512) ssbarnea
- Improve output with broken multiline playbooks (4506) ssbarnea
- Avoid broken referencing dependency (4505) ssbarnea
- Clarify partial-become rule description (4500) alisonlhart
- Allow linter to capture and display initialization warnings (4504) ssbarnea
- Update ansible-compat to `v25.1.1` (4499) audgirka

25.1.1

Bugfixes

- Update compat and pre-commit versions (4495) audgirka
- Fix output terminal colors error for black on black (4490) audgirka

Other

- Add documentation about how to use private repositories with the github action (4491) umglurf

25.1.0

Enhancements

- Update requires_ansible default require >=2.16 (4479) samccann
- Bump the dependencies group in /.config with 6 updates (4482) [dependabot[bot]](https://github.com/apps/dependabot)
- Add write_exclude_list config option (4256) frq-asgard-josi

Bugfixes

- Remove dependency hack that prevents installation on Windows (4487) ssbarnea
- Allow ansible-lint action to be used from composite workflows (4481) drew-viles
- Fix WARN on empty/template meta/main.yaml (4379) GElkayam
- Move octal example code next to octals definition (4475) branic
- Refactor use of app instance (4478) ssbarnea
- Fix constraints with uv and update min requirements (4485) ssbarnea
- Require ansible-core>=2.16 (4483) ssbarnea
- Add EL 10 as a platform in the metadata schema (4464) antonc42
- Catch ansible-compat initialization warnings (4463) ssbarnea
- Avoid ruamel.yaml 0.18.7-0.18.8 due to regression (4462) ssbarnea

Other

- Bump codecov/codecov-action from 5.1.1 to 5.1.2 (4457) [dependabot[bot]](https://github.com/apps/dependabot)

24.12.2

Enhancements

- Added additional galaxy[tags] checks (4422) minsis
- Refactor code to avoid use of rich library (4396) ssbarnea
- Search for config with the yml/yaml extension (4416) cornfeedhobo
- Rename color module to output (4433) ssbarnea
- Remove formatting options for listing rules (4432) ssbarnea

Bugfixes

- Revert "Accommodate specified inventory files (4393)" (4450) ssbarnea
- Enable FQCNs for import_playbook to have subdirs (4412) cavcrosby
- Utilize create_matcherror more in other rules (4408) cavcrosby
- Add Astra Linux Platform to platform items (4429) razerisback
- Normalize version field for rules (4431) ssbarnea
- Enable pyright hook (4426) ssbarnea
- Remove dead code and prevent regressions (4425) ssbarnea
- Prepare for pyright hook enablement (4410) ssbarnea
- Activate and address some ruff violations (preview) (4421) ssbarnea
- Fix exception with 'skipped' test (4406) Gilles95
- Include ! as a shell word. closes 4386 (4403) wimglenn

Note this this changelog entry contains changes also included in the two yanked releases before it.

24.12.1

Enhancements

- Added additional galaxy[tags] checks (4422) minsis

Bugfixes

- Do inventory parsing non-multithreaded (4447) cavcrosby
- Enable FQCNs for import_playbook to have subdirs (4412) cavcrosby

24.12.0

Enhancements

- Refactor code to avoid use of rich library (4396) ssbarnea
- Search for config with the yml/yaml extension (4416) cornfeedhobo
- Rename color module to output (4433) ssbarnea
- Remove formatting options for listing rules (4432) ssbarnea

Bugfixes

- Accommodate specified inventory files (4393) cavcrosby
- Utilize create_matcherror more in other rules (4408) cavcrosby
- Add Astra Linux Platform to platform items (4429) razerisback
- Normalize version field for rules (4431) ssbarnea
- Enable pyright hook (4426) ssbarnea
- Remove dead code and prevent regressions (4425) ssbarnea
- Prepare for pyright hook enablement (4410) ssbarnea
- Activate and address some ruff violations (preview) (4421) ssbarnea
- Fix exception with 'skipped' test (4406) Gilles95
- Include ! as a shell word. closes 4386 (4403) wimglenn

24.10.0

Enhancements

- Add support for py313 (4388) abhikdps

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 v3 `options` (4346) audgirka

24.9.2

Bugfixes

- Fix github action (4342) ssbarnea

24.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

24.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

24.7.0

Bugfixes

- Fix linting issues within command_instead_of* rules (ruff:D102) (4252) alisonlhart

24.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

24.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

24.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

24.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

24.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

24.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 against `name[casing]` error (4038) audgirka
- accept yum history and info as valid commands (4025) konstruktoid
- Add attributes for role argument specs (4018) felixfontein

24.2.0

Minor Changes

- Drop support for Python 3.9 (4009) audgirka

Bugfixes

- Fix scenario when role has no `dependencies` section in `meta/main.yml` (3993) audgirka

6.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

6.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

6.22.0

Minor Changes

- Enable YAML 1.2 support for non-ansible files (3809) ssbarnea

Bugfixes

- Require ruamel.yaml >= 0.18.5 (3880) ssbarnea
- Improve logging regarding to yaml loading and dumping (3875) ssbarnea
- Avoid creating new load method in our custom formatter (3874) ssbarnea
- Support `ruamel-yaml >= 0.18.2` (3869) hswong3i

6.21.1

Bugfixes

- Avoid exception caused by accidental unloading of core rules (3857) ssbarnea
- Document pre-commit access to ansible community bundle (3856) ssbarnea
- Fix bug with auto-fix ending too soon (3855) ssbarnea

6.21.0

Minor Changes

- Allow linting plugin EXAMPLES as playbooks (3309) Qalthos

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

6.20.3

Bugfixes

- Fix wget command arguments in github action (3806) ssbarnea
- Update some platform versions in meta.json (3800) masoud-maghsoudi

6.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

6.20.1

Bugfixes

- Fix detection of play roles vars missing prefix (3765) cavcrosby
- Prune reported errors after autofix (3774) cidrblock
- `--fix` will now default to `all` (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

6.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

6.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 by `pipx` (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

6.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

6.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

6.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

6.17.0

Minor Changes

- fqcn[deep]: detect deep plugins (3502) ssbarnea

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

6.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

6.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

6.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

6.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

6.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

6.14.5

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

6.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

6.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

6.14.2

Bugfixes

- Ignore risky-shell-pipe with pwsh (3166) ssbarnea
- Implement galaxy[no-runtime] check for meta/runtime.yml file (3162) ssbarnea
- Fixed args rule error for synchronize module (3158) ajinkyau
- Avoid test ... require a dictionary error with jinja rule (3157) ssbarnea

6.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

6.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

6.13.1

Bugfixes

- Improve no-changed-when rule (3050) ssbarnea
- Fix ignore file generation (3046) jcgruenhage

6.13.0

Minor Changes

- Removed experimental flag from multiple rules (3037) ssbarnea
- Allow only use of quoted octals (3030) ssbarnea
- Load rule ignores from external text file (3004) ssbarnea

Bugfixes

- Improve jinja error line number identification (3044) ssbarnea
- profiles: include all rules when listing all rules or tags (3043) ziegenberg
- Improve documentation on var-naming (3042) ssbarnea
- Improve loop-var-prefix checking (3041) ssbarnea
- Ignore known problematic modules from args rule (3040) ssbarnea
- Improve jinja2 rule error handling (3039) ssbarnea
- Enable syntax-check on roles (3035) ssbarnea
- Recognize role-name[path] also inside roles block (3034) ssbarnea
- Allow {% in schema full-jinja check (3029) ssbarnea
- Update ansible-compat (3025) ssbarnea
- Recognize systemctl kill as a valid command (3024) konstruktoid
- Mark syntax-check as unskippable (3020) ssbarnea
- Fixes no-tabs issue with fqcn actions (3021) ssbarnea
- Move empty-playbook to syntax-check (3019) ssbarnea
- Ensure that rule import failures are not ignored (2983) ssbarnea
- Increase the test coverage (3014) ssbarnea

6.12.2

Bugfixes

- Use XDG_CACHE_HOME instead of XDG_CONFIG_CACHE (3009) gangefors
- Adding galaxy[tag] check for required tags (3006) alisonlhart
- Fix playbook/rulebook detection (3005) apatard
- Improved documentation building (3007) ssbarnea
- Rename meta-unsupported-ansible to meta-runtime and correct its logic (3000) alisonlhart
- Avoid stack trace caused by bad filename matching pattern (3001) ssbarnea
- Embed ansible_compat in linter (2994) ssbarnea
- Bump cryptography to 39.0.1 (2996) ssbarnea
- Keep jinja2 leading spaces (2993) ssbarnea
- Add schema[moves] messages for moved plugins (2992) ssbarnea
- Updated galaxy rule imports and improved code coverage (2985) ajinkyau

6.12.1

Bugfixes

- Make no-jinja-when also detect list conditions (2975) ssbarnea
- Fix exception related to include_tasks (2974) ssbarnea
- Allow noqa comments without colons (2971) ssbarnea

6.12.0

Minor Changes

- Extend fqcn rule to complain on `collections` keyword (2825) jcgruenhage
- Determine if passed arguments are playbooks or not (2912) ssbarnea

Bugfixes

- Avoid caching on role_name regex (2876) (2876) DanInProgress
- Change the way rules are listed from command line (2940 (2940) ssbarnea
- Added example for skip list on command line (2964) (2964) ajinkyau
- Do not install collection locally in offline mode (2926) (2926) jensrudolf
- Improved coverage for empty string compare and galaxy rules (2963) ajinkyau
- Add support for Ansible 2.15 (2960 (2960) ssbarnea
- Rename warning[raw-non-string] to no-free-form[raw-non-string] (2956) ssbarnea
- Correct run-once rule identifier and related examples (2952) ajinkyau
- Fix typo in doc site name (2954) utoddl
- Replace sphinx with mkdocs (2942) ssbarnea
- Remove rich markdown header override (2938) ssbarnea
- Fixing OpenWrt name; Adding OpenWrt 22.03 (2928) sscheib
- Ignore args rule finding if value for choice has jinja template (2929) klaus-tux
- Allow warnings to be skipped (2925) ssbarnea
- Fix spacing in option help strings (2920) thomwiggers
- Allow dumping of SARIF files (2921) ssbarnea
- Change treatment of files that fail to load structured data (2919) ssbarnea
- Fix github archives metadata (2914) ssbarnea
- Fix print leak with meta-unsupported-ansible (2913) ssbarnea

6.11.0

Minor Changes

- Remove opt-in and experimental tags from metadata rule (2906) ssbarnea
- Remove opt-in and experimental tags from galaxy rule (2905) ssbarnea
- Add galaxy[no-changelog] check to galaxy rule (2832) alisonlhart

Bugfixes

- Fix typo in installing.md (2901) wgroenewold
- Fix 'location' attribute for CodeclimateJSONFormatter (2897) 4ch1m
- Avoid dubious ownership errors with newer versions of git (2890) ssbarnea
- Clarify effects of --offline flag (2896) Andeye
- Fix infinite hang on schema refresh by adding timeout parameter (2895) Andeye
- schema: detect invalid space in meta runtime (2873) ssbarnea
- Docs: issue 2864 update urls (2865) oraNod

6.10.2

Bugfixes

- Make git a runtime dependency (2860) ssbarnea
- Disable version check when running as a pre-commit hook (2858) ssbarnea
- Avoid checking var-names on non ansible files (2856) ssbarnea

6.10.1

Bugfixes

- Avoid TypeError NoneType with lookups (2852) ssbarnea
- Add the missing github_branch meta field (2847) triplepoint
- name[template]: only trigger on word characters after the template (2836) evgeni
- Update documentation of `run_once` rule (2823) shatakshiiii
- Fix line number on var-naming error for 'register' (2840) zigarn
- Add SLES15SP4 to schema (2841) johanneskastl
- src/ansiblelint/schemas/meta.json: add openSUSE 15.5 (2842) johanneskastl
- Complete schema for Antsibull changelogs (2834) shatakshiiii
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant