d0e2016592
This adds a custom ansible-lint rule at .rules/ZuulJobsNamespaceLoopVar.py that enforces the loop var policy described at: https://zuul-ci.org/docs/zuul-jobs/policy.html#ansible-loops-in-roles It also updates existing roles to follow the policy. Change-Id: I92b2ff56a1c2702542fc07b316f1809087a4c92f
13 lines
258 B
Plaintext
13 lines
258 B
Plaintext
exclude_paths:
|
|
- playbooks/legacy
|
|
parseable: true
|
|
# [204] Lines should be no longer than 160 chars
|
|
# [301] Commands should not change things if nothing needs doing
|
|
skip_list:
|
|
- '204'
|
|
- '301'
|
|
rulesdir:
|
|
- ./.rules/
|
|
use_default_rules: true
|
|
verbosity: 1
|