CI: Bump ansible-lint to <26

Remove yamllint usage - it duplicates what reno lint/ansible-lint do.

Change-Id: If8ad229281b2dca565570d651065779c2c871528
This commit is contained in:
Michal Nasiadka
2024-12-06 11:13:42 +01:00
parent 0a07462d1d
commit 1a49b2963a
4 changed files with 4 additions and 22 deletions

View File

@ -36,3 +36,6 @@ skip_list:
- command-instead-of-module
- ignore-errors
- jinja[spacing]
- yaml[truthy]
- yaml[line-length]
- yaml[octal-values]

View File

@ -1,16 +0,0 @@
---
extends: default
ignore: |
.tox/
rules:
line-length: disable
truthy: disable
braces:
max-spaces-inside: 1
comments:
require-starting-space: true
# Ignore comment validation in globals.yml - we break the
# require-starting-space rule.
ignore: |
etc/kolla/globals.yml

View File

@ -1,5 +1,5 @@
ansible>=10,<12 # GPLv3
ansible-lint>=6.22.0,<7.0.0 # MIT
ansible-lint<26 # MIT
bandit>=1.1.0 # Apache-2.0
bashate>=0.5.1 # Apache-2.0
codespell<3 # GPLv2

View File

@ -108,7 +108,6 @@ commands =
{[testenv:bandit]commands}
{[testenv:bashate]commands}
{[testenv:j2lint]commands}
{[testenv:yamllint]commands}
{[testenv:ansible-lint]commands}
[testenv:pep8]
@ -160,7 +159,3 @@ deps = {[testenv:linters]deps}
commands =
python {toxinidir}/tools/validate-all-file.py
ansible-lint -p --exclude tests --exclude roles --exclude etc --exclude zuul.d
[testenv:yamllint]
deps = {[testenv:linters]deps}
commands = yamllint -s .