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. Closes-Bug: #2019875 Change-Id: Ib68f5b26ea5672d294709a8a1d7e725133be0203
This commit is contained in:
parent
f6cb4cde9c
commit
941bbcdfff
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
exclude_paths:
|
||||
- roles/validate-ui/.travis.yml
|
||||
- roles/oooci-build-images/tasks/main.yaml # the role 'discover-latest-image' was not found
|
||||
parseable: true
|
||||
quiet: false
|
||||
skip_list:
|
||||
|
|
|
@ -29,7 +29,7 @@ repos:
|
|||
hooks:
|
||||
- id: flake8
|
||||
- repo: https://github.com/ansible/ansible-lint.git
|
||||
rev: v5.3.2
|
||||
rev: v6.16.0
|
||||
hooks:
|
||||
- id: ansible-lint
|
||||
always_run: true
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
collections:
|
||||
- name: community.general # molecule uses 'ini_file'
|
||||
- name: ansible.posix
|
||||
|
|
Loading…
Reference in New Issue