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.
This commit is contained in:
Max Gautier
2026-09-03 14:04:22 +00:00
committed by GitHub
parent cf0e68ee98
commit afd33dd657
+1 -2
View File
@@ -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