Fix ansible lint for python 3.8
As linters jobs are failing with the issue [1]. Don't use ansible 2.10.0 It seems to have broken linters and molecule jobs, let's not use it till we fix those. [1]: https://zuul.opendev.org/t/openstack/build/2b50f5e021634cc4abfbab46181cd310 [2]: https://groups.google.com/g/ansible-project/c/yFnMgbjqYnU/m/4nTCm4w1BAAJ Change-Id: I5d16f7e09116116830cbbd5c376c0b87cbcea087
This commit is contained in:
parent
c7a9834348
commit
2f335749c9
|
@ -12,4 +12,8 @@ skip_list:
|
|||
- 602 # Don't compare to empty string
|
||||
- 504 # Do not use 'local_action', use 'delegate_to: localhost'
|
||||
- 701 # No 'galaxy_info' found
|
||||
- 208 # [E208] File permissions unset or incorrect
|
||||
- 106 # [E106] Role name {} does not match ^[a-z][a-z0-9_]+$ pattern
|
||||
- 207 # [E207] Nested jinja pattern
|
||||
- 306 # [E306] Shells that use pipes should set the pipefail option
|
||||
verbosity: 1
|
||||
|
|
|
@ -26,7 +26,7 @@ repos:
|
|||
types: [file, yaml]
|
||||
entry: yamllint --strict -f parsable
|
||||
- repo: https://github.com/ansible/ansible-lint
|
||||
rev: v4.2.0
|
||||
rev: 9da220ae3a11c10c10ee43284ad6cad6d8ba52b7
|
||||
hooks:
|
||||
- id: ansible-lint
|
||||
always_run: true
|
||||
|
@ -37,6 +37,8 @@ repos:
|
|||
verbose: true
|
||||
# plugins is the standard collection dir for modules
|
||||
entry: env ANSIBLE_LIBRARY=plugins ansible-lint --force-color -p -v
|
||||
additional_dependencies:
|
||||
- 'ansible<2.10'
|
||||
- repo: https://github.com/openstack-dev/bashate.git
|
||||
rev: 0.6.0
|
||||
hooks:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ansible
|
||||
ansible<2.10
|
||||
ansi2html # GPL (soft-dependency of pytest-html)
|
||||
docker
|
||||
paramiko>=2.5.0 # LGPL (soft-dependency of docker that enables ssh protocol)
|
||||
|
|
Loading…
Reference in New Issue