From 6fc0c7f254e0e293c17f951456f74437657ad2a5 Mon Sep 17 00:00:00 2001 From: lae Date: Fri, 15 Nov 2024 03:43:35 +0900 Subject: [PATCH] Update YAMLLint rules to be inline with Ansible conventions (addendum) --- .ansible-lint | 1 + .yamllint.yml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.ansible-lint b/.ansible-lint index 0727309c..c2b1d712 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,2 +1,3 @@ +--- skip_list: - no-handler diff --git a/.yamllint.yml b/.yamllint.yml index f536726e..b1da5e18 100644 --- a/.yamllint.yml +++ b/.yamllint.yml @@ -9,6 +9,12 @@ rules: brackets: max-spaces-inside: 1 level: error + comments: + min-spaces-from-content: 1 + comments-indentation: false + octal-values: + forbid-implicit-octal: true + forbid-explicit-octal: true truthy: allowed-values: - 'true'