tripleo-heat-templates/.ansible-lint
Sorin Sbarnea 27788212cc Remove duplicate keys from yaml files
- removes duplicate keys from yaml files by assuming that the last
  one was the desired one (matches current loader behavior)
- prevent regressions by activating yaml lint rule that detects them
  (yaml skip was silencing all yaml checks, so the long list seen
  is in fact shorter than just 'yaml')
- includes sorting of some of the keys, was needed in order to spot
  the duplicates.

Change-Id: Idf5c0041a0c6d3ed7d5d49fb68be856719916663
2021-03-29 13:56:31 +00:00

25 lines
425 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:
- braces
- colons
- commas
- comments
- comments-indentation
- empty-lines
- indentation
- line-length
- new-line-at-end-of-file
- trailing-spaces
- truthy
- brackets
- hyphens