Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Update pre-commit hook ansible-community/ansible-lint to v6.21.1 (#4)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[ansible-community/ansible-lint](https://togithub.com/ansible-community/ansible-lint)
| repository | minor | `v6.17.2` -> `v6.21.1` |

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>ansible-community/ansible-lint
(ansible-community/ansible-lint)</summary>

###
[`v6.21.1`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.21.1)

[Compare
Source](https://togithub.com/ansible-community/ansible-lint/compare/v6.21.0...v6.21.1)

#### Bugfixes

- Avoid exception caused by accidental unloading of core rules
([#&#8203;3857](https://togithub.com/ansible-community/ansible-lint/issues/3857))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Document pre-commit access to ansible community bundle
([#&#8203;3856](https://togithub.com/ansible-community/ansible-lint/issues/3856))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Fix bug with auto-fix ending too soon
([#&#8203;3855](https://togithub.com/ansible-community/ansible-lint/issues/3855))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)

###
[`v6.21.0`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.21.0)

[Compare
Source](https://togithub.com/ansible-community/ansible-lint/compare/v6.20.3...v6.21.0)

#### Minor Changes

- Allow linting plugin EXAMPLES as playbooks
([#&#8203;3309](https://togithub.com/ansible-community/ansible-lint/issues/3309))
[@&#8203;Qalthos](https://togithub.com/Qalthos)

#### Bugfixes

- Add support for Rocky
([#&#8203;3843](https://togithub.com/ansible-community/ansible-lint/issues/3843))
[@&#8203;facorazza](https://togithub.com/facorazza)
- Update supported Ubuntu versions in `meta.json`
([#&#8203;3845](https://togithub.com/ansible-community/ansible-lint/issues/3845))
[@&#8203;mcdonnnj](https://togithub.com/mcdonnnj)
- Avoid false positives for handler in roles handlers directory
([#&#8203;3838](https://togithub.com/ansible-community/ansible-lint/issues/3838))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Hide stacktrace when loading invalid yaml
([#&#8203;3844](https://togithub.com/ansible-community/ansible-lint/issues/3844))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Add some platforms to `meta.json`
([#&#8203;3841](https://togithub.com/ansible-community/ansible-lint/issues/3841))
[@&#8203;mcdonnnj](https://togithub.com/mcdonnnj)
- Temporary avoid auto-fixing YAML files not owned by ansible
([#&#8203;3837](https://togithub.com/ansible-community/ansible-lint/issues/3837))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Add environment variable for skipping schema update
([#&#8203;3835](https://togithub.com/ansible-community/ansible-lint/issues/3835))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Avoid creating temporary YAML files inside source tree
([#&#8203;3819](https://togithub.com/ansible-community/ansible-lint/issues/3819))
[@&#8203;Qalthos](https://togithub.com/Qalthos)
- Document environment variables
([#&#8203;3833](https://togithub.com/ansible-community/ansible-lint/issues/3833))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Update schemas
([#&#8203;3832](https://togithub.com/ansible-community/ansible-lint/issues/3832))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Support complex requirements in argument_specs.yml
([#&#8203;3823](https://togithub.com/ansible-community/ansible-lint/issues/3823))
[@&#8203;tapetersen](https://togithub.com/tapetersen)
- Fix SARIF-formatter severity levels
([#&#8203;3824](https://togithub.com/ansible-community/ansible-lint/issues/3824))
[@&#8203;4ch1m](https://togithub.com/4ch1m)
- Add play level autofix for key-order rule
([#&#8203;3815](https://togithub.com/ansible-community/ansible-lint/issues/3815))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Add support for python 3.12
([#&#8203;3813](https://togithub.com/ansible-community/ansible-lint/issues/3813))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Update SPDX license list
([#&#8203;3814](https://togithub.com/ansible-community/ansible-lint/issues/3814))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Use checkout action in install docs
([#&#8203;3810](https://togithub.com/ansible-community/ansible-lint/issues/3810))
[@&#8203;gma](https://togithub.com/gma)
- Fix actions-tagger arguments
([#&#8203;3808](https://togithub.com/ansible-community/ansible-lint/issues/3808))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)

###
[`v6.20.3`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.20.3)

[Compare
Source](https://togithub.com/ansible-community/ansible-lint/compare/v6.20.2...v6.20.3)

#### Bugfixes

- Fix wget command arguments in github action
([#&#8203;3806](https://togithub.com/ansible-community/ansible-lint/issues/3806))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Update some platform versions in meta.json
([#&#8203;3800](https://togithub.com/ansible-community/ansible-lint/issues/3800))
[@&#8203;masoud-maghsoudi](https://togithub.com/masoud-maghsoudi)

###
[`v6.20.2`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.20.2)

[Compare
Source](https://togithub.com/ansible-community/ansible-lint/compare/v6.20.1...v6.20.2)

#### Bugfixes

- Do not use github action path for running ansible lint
([#&#8203;3798](https://togithub.com/ansible-community/ansible-lint/issues/3798))
[@&#8203;ReenigneArcher](https://togithub.com/ReenigneArcher)
- Correct listing of autofix rules in documentation
([#&#8203;3797](https://togithub.com/ansible-community/ansible-lint/issues/3797))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Make the autofix rule list dynamic in documentation
([#&#8203;3785](https://togithub.com/ansible-community/ansible-lint/issues/3785))
[@&#8203;shatakshiiii](https://togithub.com/shatakshiiii)
- Fix documentation links to autofix page
([#&#8203;3796](https://togithub.com/ansible-community/ansible-lint/issues/3796))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Bump test dependencies
([#&#8203;3795](https://togithub.com/ansible-community/ansible-lint/issues/3795))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Correct documentation regarding CLI argument precedence
([#&#8203;3792](https://togithub.com/ansible-community/ansible-lint/issues/3792))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Document autofix ability for rules that supports it
([#&#8203;3791](https://togithub.com/ansible-community/ansible-lint/issues/3791))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Accept underline prefix when checking var-naming
([#&#8203;3789](https://togithub.com/ansible-community/ansible-lint/issues/3789))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Correct regression with use of --fix
([#&#8203;3783](https://togithub.com/ansible-community/ansible-lint/issues/3783))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)

###
[`v6.20.1`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.20.1)

[Compare
Source](https://togithub.com/ansible-community/ansible-lint/compare/v6.20.0...v6.20.1)

#### Bugfixes

- Fix detection of play roles vars missing prefix
([#&#8203;3765](https://togithub.com/ansible-community/ansible-lint/issues/3765))
[@&#8203;cavcrosby](https://togithub.com/cavcrosby)
- Prune reported errors after autofix
([#&#8203;3774](https://togithub.com/ansible-community/ansible-lint/issues/3774))
[@&#8203;cidrblock](https://togithub.com/cidrblock)
- `--fix` will now default to `all`
([#&#8203;3777](https://togithub.com/ansible-community/ansible-lint/issues/3777))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Avoid false error caused by TypeError with jinja rule
([#&#8203;3773](https://togithub.com/ansible-community/ansible-lint/issues/3773))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Sanity Rule Ignore Additions and Updates
([#&#8203;3766](https://togithub.com/ansible-community/ansible-lint/issues/3766))
[@&#8203;alisonlhart](https://togithub.com/alisonlhart)
- Update rulebook schema (name is now required)
([#&#8203;3776](https://togithub.com/ansible-community/ansible-lint/issues/3776))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Expose rules that have autofix capability in docs
([#&#8203;3770](https://togithub.com/ansible-community/ansible-lint/issues/3770))
[@&#8203;shatakshiiii](https://togithub.com/shatakshiiii)
- List all the fixable rules in CLI via `--list-rules`
([#&#8203;3737](https://togithub.com/ansible-community/ansible-lint/issues/3737))
[@&#8203;shatakshiiii](https://togithub.com/shatakshiiii)
- Include level in SARIF results
([#&#8203;3758](https://togithub.com/ansible-community/ansible-lint/issues/3758))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Meta runtime supported version update
([#&#8203;3755](https://togithub.com/ansible-community/ansible-lint/issues/3755))
[@&#8203;alisonlhart](https://togithub.com/alisonlhart)

###
[`v6.20.0`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.20.0)

[Compare
Source](https://togithub.com/ansible-community/ansible-lint/compare/v6.19.0...v6.20.0)

#### Minor Changes

- Respect cgroup CPU limits when running inside containers
([#&#8203;3749](https://togithub.com/ansible-community/ansible-lint/issues/3749))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Rename --write option to --fix
([#&#8203;3748](https://togithub.com/ansible-community/ansible-lint/issues/3748))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Add auto-fixing implementation for `no-free-form` rule
([#&#8203;3725](https://togithub.com/ansible-community/ansible-lint/issues/3725))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Add auto-fixing implementation for `partial-become` rule
([#&#8203;3692](https://togithub.com/ansible-community/ansible-lint/issues/3692))
[@&#8203;shatakshiiii](https://togithub.com/shatakshiiii)
- Add auto-fixing implementation for `no-jinja-when` rule
([#&#8203;3721](https://togithub.com/ansible-community/ansible-lint/issues/3721))
[@&#8203;shatakshiiii](https://togithub.com/shatakshiiii)

#### Bugfixes

- Fix the detection of role vars missing role prefix
([#&#8203;3750](https://togithub.com/ansible-community/ansible-lint/issues/3750))
[@&#8203;cavcrosby](https://togithub.com/cavcrosby)
- Clarify auto-fix arguments use
([#&#8203;3751](https://togithub.com/ansible-community/ansible-lint/issues/3751))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Avoid IndexError exception with jinja transform
([#&#8203;3747](https://togithub.com/ansible-community/ansible-lint/issues/3747))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Fix docs typo
([#&#8203;3746](https://togithub.com/ansible-community/ansible-lint/issues/3746))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Add /bin/bash executable to example correct code for pipefail rule
([#&#8203;3731](https://togithub.com/ansible-community/ansible-lint/issues/3731))
[@&#8203;Perdu](https://togithub.com/Perdu)
- Properly avoid `pipx` venv path to be included in altered path warning
([#&#8203;3730](https://togithub.com/ansible-community/ansible-lint/issues/3730))
[@&#8203;chrysle](https://togithub.com/chrysle)
- Fix transform exception with local_action with old syntax
([#&#8203;3743](https://togithub.com/ansible-community/ansible-lint/issues/3743))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Support only_upgrade
([#&#8203;3734](https://togithub.com/ansible-community/ansible-lint/issues/3734))
[@&#8203;soroshsabz](https://togithub.com/soroshsabz)

###
[`v6.19.0`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.19.0)

[Compare
Source](https://togithub.com/ansible-community/ansible-lint/compare/v6.18.0...v6.19.0)

#### Minor Changes

- Add auto transform for no-log-password rule
([#&#8203;3708](https://togithub.com/ansible-community/ansible-lint/issues/3708))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Add auto-fixing implementation for key-order\[task] rule
([#&#8203;3705](https://togithub.com/ansible-community/ansible-lint/issues/3705))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Add auto-fixing implementation for `jinja[spacing]` rule
([#&#8203;3691](https://togithub.com/ansible-community/ansible-lint/issues/3691))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Make schema validation messages more explicit
([#&#8203;3701](https://togithub.com/ansible-community/ansible-lint/issues/3701))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Transform for deprecated-local-action rule
([#&#8203;3689](https://togithub.com/ansible-community/ansible-lint/issues/3689))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)

#### Bugfixes

- Require ansible-compat>=4.1.10
([#&#8203;3723](https://togithub.com/ansible-community/ansible-lint/issues/3723))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Skip altered path warning for `ansible-lint` installed by `pipx`
([#&#8203;3720](https://togithub.com/ansible-community/ansible-lint/issues/3720))
[@&#8203;chrysle](https://togithub.com/chrysle)
- Update transform for `key-order` rule
([#&#8203;3719](https://togithub.com/ansible-community/ansible-lint/issues/3719))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Allow installation of pre-release collection version as dependencies
([#&#8203;3716](https://togithub.com/ansible-community/ansible-lint/issues/3716))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Avoid deprecated-bare-vars false positive with file paths
([#&#8203;3709](https://togithub.com/ansible-community/ansible-lint/issues/3709))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Limit sequence-of-sequence indents to a single space
([#&#8203;3671](https://togithub.com/ansible-community/ansible-lint/issues/3671))
[@&#8203;Qalthos](https://togithub.com/Qalthos)
- Avoid no-handlers false positives
([#&#8203;3702](https://togithub.com/ansible-community/ansible-lint/issues/3702))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Add missing word to risky-shell-pipe docs
([#&#8203;3704](https://togithub.com/ansible-community/ansible-lint/issues/3704))
[@&#8203;roock](https://togithub.com/roock)
- Avoid yamllint truthy violations with github workflows
([#&#8203;3698](https://togithub.com/ansible-community/ansible-lint/issues/3698))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Avoid false positive with var-name rule on roles
([#&#8203;3697](https://togithub.com/ansible-community/ansible-lint/issues/3697))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Include links to documentation for schema validation errors
([#&#8203;3684](https://togithub.com/ansible-community/ansible-lint/issues/3684))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Schema update
([#&#8203;3693](https://togithub.com/ansible-community/ansible-lint/issues/3693))
[@&#8203;cidrblock](https://togithub.com/cidrblock)
- Use yaml.load_all for multiple yaml document
([#&#8203;3679](https://togithub.com/ansible-community/ansible-lint/issues/3679))
[@&#8203;shatakshiiii](https://togithub.com/shatakshiiii)
- Ignore user configured value for any_unparsed_is_failed
([#&#8203;3680](https://togithub.com/ansible-community/ansible-lint/issues/3680))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Update rulebook schema
([#&#8203;3681](https://togithub.com/ansible-community/ansible-lint/issues/3681))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)

###
[`v6.18.0`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.18.0)

[Compare
Source](https://togithub.com/ansible-community/ansible-lint/compare/v6.17.2...v6.18.0)

#### Minor Changes

- Limit the maximum block depth
([#&#8203;3602](https://togithub.com/ansible-community/ansible-lint/issues/3602))
[@&#8203;Ruchip16](https://togithub.com/Ruchip16)
- Transform functionality for command_instead_of_shell
([#&#8203;3675](https://togithub.com/ansible-community/ansible-lint/issues/3675))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Add rule to check the number of tasks
([#&#8203;3156](https://togithub.com/ansible-community/ansible-lint/issues/3156))
[@&#8203;Ruchip16](https://togithub.com/Ruchip16)

#### Bugfixes

- Clarify loop-var-prefix rule and code snippet
([#&#8203;3642](https://togithub.com/ansible-community/ansible-lint/issues/3642))
[@&#8203;schwarmco](https://togithub.com/schwarmco)
- Update `version_added` for complexity rule
([#&#8203;3623](https://togithub.com/ansible-community/ansible-lint/issues/3623))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Ensure that single space between tasks is preserved when using --write
([#&#8203;3641](https://togithub.com/ansible-community/ansible-lint/issues/3641))
[@&#8203;shatakshiiii](https://togithub.com/shatakshiiii)
- Update ansible-compat used for testing
([#&#8203;3664](https://togithub.com/ansible-community/ansible-lint/issues/3664))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Document `yaml[line-length]` rule
([#&#8203;3653](https://togithub.com/ansible-community/ansible-lint/issues/3653))
[@&#8203;shatakshiiii](https://togithub.com/shatakshiiii)
- Prevent use of spdx-tools 0.8.0 due to breaking changes
([#&#8203;3649](https://togithub.com/ansible-community/ansible-lint/issues/3649))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- fixes dead marketplace link
([#&#8203;3631](https://togithub.com/ansible-community/ansible-lint/issues/3631))
[@&#8203;wookietreiber](https://togithub.com/wookietreiber)
- Improve profile information on summary line
([#&#8203;3637](https://togithub.com/ansible-community/ansible-lint/issues/3637))
[@&#8203;ziegenberg](https://togithub.com/ziegenberg)
- command-instead-of-module: allow `git rev-parse`
([#&#8203;3610](https://togithub.com/ansible-community/ansible-lint/issues/3610))
[@&#8203;JohnVillalovos](https://togithub.com/JohnVillalovos)
- Include filepaths starting from $HOME in lintables
([#&#8203;3621](https://togithub.com/ansible-community/ansible-lint/issues/3621))
[@&#8203;shatakshiiii](https://togithub.com/shatakshiiii)
- Update \_mockings.py to fix bug created in
[#&#8203;3390](https://togithub.com/ansible-community/ansible-lint/issues/3390)
([#&#8203;3614](https://togithub.com/ansible-community/ansible-lint/issues/3614))
[@&#8203;karcaw](https://togithub.com/karcaw)
- Allow to set gather_facts as templated boolean
([#&#8203;3606](https://togithub.com/ansible-community/ansible-lint/issues/3606))
[@&#8203;noonedeadpunk](https://togithub.com/noonedeadpunk)
- Add dependency version check for collection metadata
([#&#8203;3601](https://togithub.com/ansible-community/ansible-lint/issues/3601))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Fix installation of dependencies when run as an action
([#&#8203;3592](https://togithub.com/ansible-community/ansible-lint/issues/3592))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/UCL-MIRSG/ansible-role-template).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Oct 23, 2023
1 parent 199edf7 commit 9827656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ repos:
hooks:
- id: check-github-workflows
- repo: https://github.com/ansible-community/ansible-lint.git
rev: v6.17.2
rev: v6.21.1
hooks:
- id: ansible-lint
args: ["-p", "."]

0 comments on commit 9827656

Please sign in to comment.