Bump ansible-lint to 5.3.2
Bump to latest version that fixes issues with rich 11. We need to fix the linting issues as followup. Change-Id: Ie9707333454aca755db8daa272e3408ecbbf55da
This commit is contained in:
parent
42f5d4faa7
commit
ade61b299f
7
.ansible-lint
Normal file
7
.ansible-lint
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
skip_list:
|
||||||
|
- role-name
|
||||||
|
- unnamed-task
|
||||||
|
- command-instead-of-shell
|
||||||
|
- no-changed-when
|
||||||
|
- no-handler
|
||||||
|
- yaml
|
@ -25,17 +25,16 @@ repos:
|
|||||||
types: [file, yaml]
|
types: [file, yaml]
|
||||||
entry: yamllint --strict -f parsable
|
entry: yamllint --strict -f parsable
|
||||||
- repo: https://github.com/ansible/ansible-lint
|
- repo: https://github.com/ansible/ansible-lint
|
||||||
rev: v4.3.5
|
rev: v5.3.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: ansible-lint
|
- id: ansible-lint
|
||||||
additional_dependencies:
|
always_run: true
|
||||||
- 'ansible<2.10'
|
pass_filenames: false
|
||||||
files: \.(yaml|yml)$
|
# do not add file filters here as ansible-lint does not give reliable
|
||||||
entry: >-
|
# results when called with individual files.
|
||||||
ansible-lint --force-color -v -x "ANSIBLE0006,ANSIBLE0007,ANSIBLE0010,ANSIBLE0012,ANSIBLE0013,ANSIBLE0016" --exclude zuul.d/
|
# https://github.com/ansible/ansible-lint/issues/611
|
||||||
# TODO(cloudnull): These codes were added to pass the lint check.
|
verbose: true
|
||||||
# Things found within roles.galaxy are external
|
entry: env ANSIBLE_LIBRARY=library ansible-lint --force-color -p -v --exclude zuul.d/
|
||||||
# and not something maintained here.
|
|
||||||
- repo: https://github.com/openstack-dev/bashate.git
|
- repo: https://github.com/openstack-dev/bashate.git
|
||||||
rev: 0.6.0
|
rev: 0.6.0
|
||||||
hooks:
|
hooks:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user