From 91bbc92b595f61cdb61e5d5f78ba22fa72cf9649 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de> Date: Tue, 16 Jul 2024 11:41:13 +0200 Subject: [PATCH] chore: add .yamllint options to be compliant with ansible-lint 3.x rules --- .yamllint | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.yamllint b/.yamllint index 8827676..cbd76a6 100644 --- a/.yamllint +++ b/.yamllint @@ -15,7 +15,8 @@ rules: commas: max-spaces-after: -1 level: error - comments: disable + comments: + min-spaces-from-content: 1 comments-indentation: disable document-start: disable empty-lines: @@ -26,6 +27,9 @@ rules: indentation: disable key-duplicates: enable line-length: disable + octal-values: + forbid-implicit-octal: true # yamllint defaults to false + forbid-explicit-octal: true # yamllint defaults to false new-line-at-end-of-file: disable new-lines: type: unix -- GitLab