From 3a23cebddc987aa95909c801fd7189b7dc5bf821 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Mon, 23 Mar 2026 12:04:38 +0100 Subject: ansible-lint: Disable comment checks in etc/kolla/globals.yml Restore strictness of check, because we stop using .ansible-lint-ignore file. Change-Id: Ia5e80d96efc27e4deb4402bd89df7e58d9b5ca82 Signed-off-by: Michal Nasiadka --- .ansible-lint | 2 +- .ansible-lint-ignore | 2 -- etc/kolla/globals.yml | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 .ansible-lint-ignore diff --git a/.ansible-lint b/.ansible-lint index ccbb40720..598993b09 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -7,7 +7,7 @@ rulesdir: - .ansible-lint-rules/ # NOTE(mnasiadka): Switched to false due to rules skipped via .ansible-lint-ignore causing # failures -strict: false +strict: true skip_list: # disable experimental rules - experimental diff --git a/.ansible-lint-ignore b/.ansible-lint-ignore deleted file mode 100644 index 4d826d03d..000000000 --- a/.ansible-lint-ignore +++ /dev/null @@ -1,2 +0,0 @@ -# This file contains ignores rule violations for ansible-lint skip -etc/kolla/globals.yml yaml[comments] skip diff --git a/etc/kolla/globals.yml b/etc/kolla/globals.yml index a2ff48555..36d2ca381 100644 --- a/etc/kolla/globals.yml +++ b/etc/kolla/globals.yml @@ -1,3 +1,4 @@ +# yamllint disable rule:comments --- # You can use this file to override _any_ variable throughout Kolla. # Additional options can be found in the -- cgit v1.2.3