From 2974fa5385e3a29a30eacdea3b9a7c17ad6bee51 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Fri, 16 Sep 2022 11:04:12 +0100 Subject: [PATCH] lint updates Signed-off-by: Mark Bolwell --- .ansible-lint | 3 +++ .yamllint | 38 +++++++++++++++++++++++++------------- 2 files changed, 28 insertions(+), 13 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index f2a7e7c..f21e1f4 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,6 +1,9 @@ parseable: true quiet: true skip_list: + - 'schema' + - 'no-changed-when' + - 'fqcn-builtins' - '204' - '305' - '303' diff --git a/.yamllint b/.yamllint index fdea629..693eec6 100644 --- a/.yamllint +++ b/.yamllint @@ -2,22 +2,34 @@ ignore: | tests/ molecule/ + .github/ .gitlab-ci.yml *molecule.yml extends: default rules: - indentation: - # Requiring 4 space indentation - spaces: 4 - # Requiring consistent indentation within a file, either indented or not - indent-sequences: consistent - truthy: disable - braces: - max-spaces-inside: 1 - level: error - brackets: - max-spaces-inside: 1 - level: error - line-length: disable + indentation: + # Requiring 4 space indentation + spaces: 4 + # Requiring consistent indentation within a file, either indented or not + indent-sequences: consistent + truthy: disable + braces: + max-spaces-inside: 1 + level: error + brackets: + max-spaces-inside: 1 + level: error + indentation: + indent-sequences: consistent + level: error + line-length: disable + key-duplicates: enable + new-line-at-end-of-file: enable + new-lines: + type: unix + trailing-spaces: enable + truthy: + allowed-values: ['true', 'false'] + check-keys: false