Fixes for ansible-lint in tox linter job
This patch updated ansible-lint version on pre-commit configuration file and updates tox.ini to install ansible and collections needed for ansible-lint validation. Change-Id: Iacf544dfffa0e68c369e19c96cce67d04cc22c68 Related-Bug: #2019875 Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
This commit is contained in:
parent
e861134a9d
commit
33266fbb90
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
parseable: true
|
||||
exclude_paths:
|
||||
- roles/collect_logs/files/collect-container-logs.sh
|
||||
skip_list:
|
||||
# Add skips here only as last resort, like:
|
||||
- role-name
|
||||
|
|
|
@ -28,7 +28,7 @@ repos:
|
|||
- flake8-black>=0.1.1
|
||||
language_version: python3
|
||||
- repo: https://github.com/ansible/ansible-lint.git
|
||||
rev: v5.3.2
|
||||
rev: v6.16.0
|
||||
hooks:
|
||||
- id: ansible-lint
|
||||
always_run: true
|
||||
|
|
Loading…
Reference in New Issue