ansible/.yamllint.yaml
Michal Konecny 4cb4e55304 Update yamllint config to fix the CI errors
Recently we started seeing CI failing on fi-ansible-lint-diff job, this update
to yamllint config should fix that. See
https://ansible.readthedocs.io/projects/lint/rules/yaml/#yamllint-configuration
for more information about the default yamllint config.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-16 11:33:41 +02:00

22 lines
408 B
YAML

---
extends: default
rules:
comments:
min-spaces-from-content: 1
comments-indentation: false
braces:
max-spaces-inside: 1
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true
indentation:
spaces: 2
indent-sequences: whatever
level: warning
line-length:
max: 100
level: warning
truthy:
allowed-values: ['true', 'false', 'yes', 'no']
...