mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
ci: ansible-lint - ignore var-naming[no-role-prefix]
ansible-lint has recently added a check for this. It flags a lot of our test code, and some of our role code that uses nested roles. There is no easy way to disable it for these cases only. It would be a tremendous amount of work to add `# noqa` comments everywhere. The use of `.ansible-lint-ignore` would be a maintenance burden (cannot use tests/tests_*.yml or other similar wildcard to match all test files), would still issue a lot of warning messages, and would not solve all of the problems. The only way for now is to skip this rule. Signed-off-by: Rich Megginson <rmeggins@redhat.com>
This commit is contained in:
parent
104638e765
commit
e16b0e65ff
1 changed files with 1 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ kinds:
|
|||
- playbook: "**/examples/*.yml"
|
||||
skip_list:
|
||||
- fqcn-builtins
|
||||
- var-naming[no-role-prefix]
|
||||
exclude_paths:
|
||||
- tests/roles/
|
||||
- .github/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue