mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
ansible-lint: Fix parser-error failure
Signed-off-by: Wen Liang <liangwen12year@gmail.com>
This commit is contained in:
parent
f11e720268
commit
65735a85a6
1 changed files with 8 additions and 0 deletions
|
|
@ -1,7 +1,15 @@
|
|||
---
|
||||
profile: production
|
||||
extra_vars:
|
||||
# In order to fix the ansible-lint 6.x parser-error, the file
|
||||
# `tests/get_coverage.yml` has to be declared as the playbook and an extra
|
||||
# variable `test_playbook` has to be defined. The value of the variable
|
||||
# `test_playbook`is less important which only meets the purpose of passing
|
||||
# the ansible-lint 6.x check
|
||||
test_playbook: tests_default.yml
|
||||
kinds:
|
||||
- yaml: "**/meta/collection-requirements.yml"
|
||||
- playbook: "**/tests/get_coverage.yml"
|
||||
- yaml: "**/tests/collection-requirements.yml"
|
||||
- playbook: "**/tests/tests_*.yml"
|
||||
- playbook: "**/tests/setup-snapshot.yml"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue