tripleo-heat-templates/.ansible-lint
Takashi Kajinami 0590dd4b9d 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
2022-07-25 23:53:10 +09:00

26 lines
519 B
Plaintext

kinds:
- j2: "**/*.j2.yaml"
- playbook: "**/common/*.yml"
- yaml: "roles/*.yaml"
mock_modules:
- tripleo_all_nodes_data
skip_list:
# TODO(zbr): Address in follow-ups
- role-name
- unnamed-task
# yaml ones
- yaml[braces]
- yaml[colons]
- yaml[commas]
- yaml[comments]
- yaml[comments-indentation]
- yaml[empty-lines]
- yaml[indentation]
- yaml[line-length]
- yaml[new-line-at-end-of-file]
- yaml[trailing-spaces]
- yaml[truthy]
- yaml[brackets]
- yaml[hyphens]
- experimental