e50e1a067d
This patch add a custom ansible-lint rule to enforce the structure of the validations playbooks: *ValidationHasMetadataRule*: Throw an ansible-lint error if: - the *hosts* key is empty or not found, - *vars* dictionary is missing, - *metadata* dict is missing in *vars* - *name*/*description*/*groups* keys are missing or found with a wrong data type - the validation belongs to one or several groups NOT in the official list of groups (groups.yaml) *YAMLLINT*: - Enable yamllint check in tox linters - WIP Fix detected yamllint errors Change-Id: If233286aa9f4299f02f13dc34f1e8c05d89df851 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
12 lines
164 B
Plaintext
12 lines
164 B
Plaintext
---
|
|
extends: default
|
|
|
|
rules:
|
|
line-length:
|
|
# matches hardcoded 160 value from ansible-lint
|
|
max: 160
|
|
|
|
ignore: |
|
|
zuul.d/*.yaml
|
|
releasenotes/notes/*.yaml
|