Fix skip_list definition for yamllint

It seems recent update of ansible-lint no longer allows us to use
top-level name but only accepts yaml[<name>] syntax to skip yaml lint
checks. This change updates the config file of ansible-lint to ensure
all yaml lint checks are skipped.

This also skips the experimental checks to skip a few errors currently
detected.

Depends-on: https://review.opendev.org/c/openstack/tripleo-ci/+/850893
Change-Id: Icac9f7c4d6501536467e286311dde34cc7cee198
This commit is contained in:
Takashi Kajinami 2022-07-25 22:29:26 +09:00
parent 17744f46db
commit 0590dd4b9d
1 changed files with 15 additions and 14 deletions

View File

@ -8,17 +8,18 @@ skip_list:
# TODO(zbr): Address in follow-ups # TODO(zbr): Address in follow-ups
- role-name - role-name
- unnamed-task - unnamed-task
# yaml ones: # yaml ones
- braces - yaml[braces]
- colons - yaml[colons]
- commas - yaml[commas]
- comments - yaml[comments]
- comments-indentation - yaml[comments-indentation]
- empty-lines - yaml[empty-lines]
- indentation - yaml[indentation]
- line-length - yaml[line-length]
- new-line-at-end-of-file - yaml[new-line-at-end-of-file]
- trailing-spaces - yaml[trailing-spaces]
- truthy - yaml[truthy]
- brackets - yaml[brackets]
- hyphens - yaml[hyphens]
- experimental