2023-05-22 09:39:00 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: ansible-lint: updated to 6.16.2 v6.16.2 Bugfixes Update test dependencies Fix and document installing of requirements.yml files Do not ever exclude files given as arguments Ensure we return error if argument gives are not present Allow rules to expose all tags they can produce Enable var-name rule to detect read-only variables Add Oracle Enterprise Linux 7.* Fix for var-naming rule to not break on include_tasks and vars var-naming now prevents use of Ansible reserved names Ensure that we also lint files from git submodules Adding 2.16 to the list of allowed ansible-core versions in meta-runtime rule |
2023-05-18 15:07:26 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: ansible-lint: updated to 6.16.1 v6.16.1 Bugfixes Update lock file to use ansible-core 2.15.0 Install requirements from galaxy.yml and tests/requirements.yml Add Kali Linux as a supported platform Do not trigger no_handler upon complex conditions Hide warning about unique filter originating from core Relax ruamel-yaml requirements Suggest correct alternative for with_filetree Upgrade var-naming rule to include role name prefix Fix exception when using reformatting on scalars Find and lint imported playbooks |
2023-05-10 14:16:37 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: ansible-lint: updated to 6.16.0 v6.16.0 Minor Changes Capture python warnings and report some of them as matches Capture and hide ansible core warnings by default Remove progressive mode Enforce use of lineno variable name inside the library o Bugfixes Add Amazon Linux 2023 as a supported platform Capture python warnings and report some of them as matches Fix missing required arguments issue from args rule Change matchtask to receive a Task instance Require ruamel.yaml>=0.17.24 Avoid exception when trying to load invalid text files Fix ansible collection path detection ruff: Address FBT002 More pathlib adoption Avoid dropping comments on YAML transformation Correct docs on navigator schema location Fix changelog schema for connection plugins Migrate from os.path to pathlib Remove resolvelib from requirements lock Make cwd use pathlib ruff: Address PGH ruff: Address A ruff: Address B ruff: Address SLF ruff: Address SIM ruff: Address EXE ruff: Address BLE ruff: Address INP and PLW Add initial handling of submodules to contribution docs ruff: Address T and RET Find "changed" not only in first "when" condition ruff: fix S rule Make MatchError a dataclass Remove EM from ruff ignores Mock jinja filters to prevent templating errors Update schema files Add Fedora 38 to meta.json schema file Remove RUF from ruff ignores Remove G from ruff ignores Remove ISC from ruff ignores Remove C from ruff ignores Make linter configuration a dataclass Remove N from ruff ignores Remove useless . from additional_dependencies in pre-commit hook |
2023-04-23 12:13:53 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: ansible-lint: update to 6.15.0 v6.15.0 Minor Changes Add ability to auto-fix fcqn rule violations Document how to avoid vault related errors Require at least one known subfolder for roles Bugfixes Ensure that JSON output does not contain newlines Improve description of task names Fix config path detection logic Improve tests related to vault processing Avoid running args rule if we encounter a windows module Ensure non zero exit code when no files are linted Refactor exit codes to use an enum Ensure profile rules do not have experimental or opt-in tag Change logging to use rich output Refactor project root directory detection code Remove flake8 and pyupgrade Extend ruff checks Send GHA annotations to stderr Fix Schema validation for variables in tasks/vars directory Recognize ansible collections installed at system level |
2023-04-13 16:28:32 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: ansible-lint: updated to 6.14.6 v6.14.6 Bugfixes Update schema to add some of the missing rules Use temporary playbooks to check role syntax Enable ruff linter Use fqcn[canonical] in place of fqcn[action-redirect] Refactor tests Refactor no-relative-paths tests Minor fixes for no-handler rule name[casing]: Add transform to automatically fix this during --write Remove meta-no-info rule due to being covered by schema[meta] Ignore unknown sections under changes key on changelogs Add current FreeBSD and OpenBSD versions Ensure playbook path is absolute Updated 'kind' message if file kind is unknown Rename arg-spec schema file to clarify it applies to roles only v6.14.5 (yanked) Bugfixes Use fqcn[canonical] in place of fqcn[action-redirect] Refactor tests Refactor no-relative-paths tests Minor fixes for no-handler rule name[casing]: Add transform to automatically fix this during --write Remove meta-no-info rule due to being covered by schema[meta] Ignore unknown sections under changes key on changelogs Add current FreeBSD and OpenBSD versions Ensure playbook path is absolute Updated 'kind' message if file kind is unknown Rename arg-spec schema file to clarify it applies to roles only |
2023-04-05 15:19:21 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: ansible-lint: updated t 6.14.4 v6.14.4 Bugfixes Document that no-changed-when also applies to handlers Update navigator schema Update no-handler rule to accept 'not changed' Fix link for usage.md (Linting playbooks and roles) Skip PATH checking when pyenv virtualenv is present Require yamllint 1.30.3 or newer |
2023-03-29 09:45:55 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: ansible-lint: updated to 6.14.3 v6.14.3 Bugfixes Refactor task iterator (part 2) Document fix for literal_compare == False docs: Provide more information about the dangers of run_once Fix sarif output to use 'match.details' in result object, instead of 'match.message' Allow templated boolean for any_errors_fatal Refactor task iterator to return an object Update SPDX license list Fix tilde interpolation in PATH Fix "helpUri" assignment for SARIF output docs: fix link for rule galaxy[no-runtime] |
2023-03-14 20:47:17 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: ansible-lint: updated to 6.14.2 v6.14.2 Bugfixes Ignore risky-shell-pipe with pwsh Implement galaxy[no-runtime] check for meta/runtime.yml file Fixed args rule error for synchronize module Avoid test ... require a dictionary error with jinja rule |
2023-03-08 13:05:59 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: ansible-lint: updated to 6.14.1 v6.14.1 Bugfixes Avoid "unable to evaluate string as dictionary" with args rule Avoid 'Unrecognized type' errors with jinja rule Allow 'use' parameter with service module (args) Change schema $id to be a valid URL Document skip_ansible_lint does not work with yamllint rule Update schema '$id' Ensure ignored matches are reports as minor in codeclimate output Remove unused rules_as_docs Remove deprecated nested_items Avoid undefined errors from jinja rule Refactor processing of module args v6.14.0 Minor Changes Add rulebook schema Add sanity rule with check for bad and disallowed ignores Remove support for python 3.8 Bugfixes Adding 2.9 ignore allow-list for sanity rule Generalize args rule exception handling Remove duplicate deprecated-command-syntax rule Allow schema refresh to run without installing app Removed unused code Allow custom rules specific configuration with ansible-lint-config JSON Schema Ensure SPDX license list is in sync Added support for raw booleans when using complex_conditional Make git errors fatal when strict mode is active Fix for skipped rules key in yaml rule Allow manifest field on galaxy file schema Simplify logic for meta-runtime rule Removed lines not required for code coverage (meta-no-info rule) Remove "mode: preserve" from risky file perms doc, add copy example Improved ignore file handling fix exclude-path test Avoid jinja rule triggering with mutually exclusive arguments Avoid reformatting of strings with line feeds and no jinja Change CodeClimate severity to expose error or warning levels Avoid 'not defined' with jinja rule Avoid 'is undefined' error with jinja rule Document output formats Allow /dev/null to be passed as config file |
2023-02-17 17:36:16 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: ansible-lint: updated to 6.13.1 v6.13.1 Bugfixes Improve no-changed-when rule Fix ignore file generation |