Fix ansible-hook
Added infrared_plugin/main.yml to exclude path as ansible-lint fails as infrared_plugin/main.yml:5:3: syntax-check[specific]: The field 'hosts' has an invalid value, which includes an undefined variable. The error was: 'other' is undefined. 'other' is undefined Bump version on ansible-lint Change-Id: Id60cb45a96a8080c4257d33a0739d0972978045d
This commit is contained in:
parent
e861134a9d
commit
28cffac60c
|
@ -1,5 +1,7 @@
|
||||||
---
|
---
|
||||||
parseable: true
|
parseable: true
|
||||||
|
exclude_paths:
|
||||||
|
- infrared_plugin/main.yml
|
||||||
skip_list:
|
skip_list:
|
||||||
# Add skips here only as last resort, like:
|
# Add skips here only as last resort, like:
|
||||||
- role-name
|
- role-name
|
||||||
|
|
|
@ -28,7 +28,7 @@ repos:
|
||||||
- flake8-black>=0.1.1
|
- flake8-black>=0.1.1
|
||||||
language_version: python3
|
language_version: python3
|
||||||
- repo: https://github.com/ansible/ansible-lint.git
|
- repo: https://github.com/ansible/ansible-lint.git
|
||||||
rev: v5.3.2
|
rev: v6.16.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: ansible-lint
|
- id: ansible-lint
|
||||||
always_run: true
|
always_run: true
|
||||||
|
|
|
@ -14,8 +14,9 @@
|
||||||
parent: tox
|
parent: tox
|
||||||
vars:
|
vars:
|
||||||
tox_envlist: units # dynamic tox env added by tox-ansible
|
tox_envlist: units # dynamic tox env added by tox-ansible
|
||||||
# we want to run sanity only on py36 instead of implicit 2.6-3.9 range
|
# we want to run units on py38 instead of implicit 2.6-3.9 range
|
||||||
# tox_extra_args: -- --python 3.6
|
python_version: "3.8"
|
||||||
|
tox_extra_args: -- --python 3.8
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: zuul-ansible-role-collect-logs
|
name: zuul-ansible-role-collect-logs
|
||||||
|
|
Loading…
Reference in New Issue