From afd33dd65798ff1d4e5ef1c2f60a76dd8ee48fdd Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Thu, 3 Sep 2026 14:04:22 +0000 Subject: [PATCH] lint: Disable name-casing (and remove comment) (#13456) ansible-lint is pretty opiniated, and a lots of its opinion are not particularly useful for Kubespray, so delete the comment about not adding skip rule entries. We should not add them willy-nilly but some stuff just does not make sense, in that case name[casing] when prefixing tasks name with role name. --- .ansible-lint | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index 41fba4889..00df7f92f 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -2,8 +2,6 @@ skip_list: # see https://docs.ansible.com/ansible-lint/rules/default_rules.html for a list of all default rules - # DO NOT add any other rules to this skip_list, instead use local `# noqa` with a comment explaining WHY it is necessary - # These rules are intentionally skipped: # # [role-name] "meta/main.yml" Role name role-name does not match ``^+$`` pattern @@ -35,6 +33,7 @@ skip_list: - 'run-once[task]' - 'jinja[spacing]' + - 'name[casing]' exclude_paths: # Generated files - tests/files/custom_cni/cilium.yaml