mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
By running yamllint we add one more verification of quality to the playbooks used on/provided by ansible-freeipa, that will be executed on every push (even on forks) or pull-requests. This patch provides the configuration needed to run yamllint on the playbooks found in the `tests`, `playbooks` and `molecule` directories, on every push or pull-request done on Github, using ibiqlik/action-yamllint action version `v1`. The current configuration for yamllint has many rules disable, so the problems found can be fixed later. All rules after the comment `# Disabled rules` should be enabled in the near future.
29 lines
518 B
Plaintext
29 lines
518 B
Plaintext
---
|
|
ignore: |
|
|
/.tox/
|
|
/.venv/
|
|
/.github/
|
|
|
|
extends: default
|
|
|
|
rules:
|
|
braces:
|
|
max-spaces-inside: 1
|
|
level: error
|
|
brackets:
|
|
max-spaces-inside: 1
|
|
level: error
|
|
truthy:
|
|
allowed-values: ["yes", "no", "true", "false", "True", "False"]
|
|
level: error
|
|
# Disabled rules
|
|
document-start: disable
|
|
indentation: disable
|
|
line-length: disable
|
|
colons: disable
|
|
empty-lines: disable
|
|
comments: disable
|
|
comments-indentation: disable
|
|
trailing-spaces: disable
|
|
new-line-at-end-of-file: disable
|