From 842e6fce52b8d5416abd3ed76962eb87cbf253bf Mon Sep 17 00:00:00 2001 From: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com> Date: Tue, 24 Oct 2023 11:32:44 -0400 Subject: [PATCH] Skip no-role-prefix var-naming lint rule (#62) --- .ansible-lint | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.ansible-lint b/.ansible-lint index bdc0d89..3f10c59 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -5,3 +5,14 @@ # option will be parsed relative to the CWD of execution. exclude_paths: - changelogs/ + +# Ansible-lint is able to recognize and load skip rules stored inside +# `.ansible-lint-ignore` (or `.config/ansible-lint-ignore.txt`) files. +# To skip a rule just enter filename and tag, like "playbook.yml package-latest" +# on a new line. +# Optionally you can add comments after the tag, prefixed by "#". We discourage +# the use of skip_list below because that will hide violations from the output. +# When putting ignores inside the ignore file, they are marked as ignored, but +# still visible, making it easier to address later. +skip_list: + - var-naming[no-role-prefix]