mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-23 18:10:17 +08:00
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>
This commit is contained in:
@@ -2,6 +2,14 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user