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:
Sergii Golovatiuk 2023-09-14 22:49:01 +02:00
parent e861134a9d
commit 28cffac60c
3 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,7 @@
---
parseable: true
exclude_paths:
- infrared_plugin/main.yml
skip_list:
# Add skips here only as last resort, like:
- role-name

View File

@ -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.2
hooks:
- id: ansible-lint
always_run: true

View File

@ -14,8 +14,9 @@
parent: tox
vars:
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
# tox_extra_args: -- --python 3.6
# we want to run units on py38 instead of implicit 2.6-3.9 range
python_version: "3.8"
tox_extra_args: -- --python 3.8
- job:
name: zuul-ansible-role-collect-logs