Add lint workflow

This commit is contained in:
2025-11-28 18:27:34 +03:00
parent 8ae28e64f4
commit 6ff7a7e3b4
2 changed files with 72 additions and 0 deletions

21
.yamllint.yml Normal file
View File

@@ -0,0 +1,21 @@
extends: default
rules:
# Правила, требуемые ansible-lint
comments:
min-spaces-from-content: 1
comments-indentation: false
braces:
max-spaces-inside: 1
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true
# Дополнительные настройки (опционально)
line-length:
max: 120
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: true
document-start: disable # Не требовать --- в начале файла
truthy:
level: warning