Fix ansible lint
Ansible-lint is failing on physical-network.yml, which is a tasks file rather than a playbook. Specify the two top-level playbooks only, and ansible-lint will follow the includes. Change-Id: I3499944939aa717a382d87f5c90236499539de60
This commit is contained in:
parent
f34bb772a0
commit
945a79bc0b
4
tox.ini
4
tox.ini
@ -67,8 +67,8 @@ setenv = ANSIBLE_LIBRARY = {toxinidir}/ansible/action_plugins/
|
||||
# Exclude roles downloaded from Galaxy (in the form 'author.role') from
|
||||
# linting.
|
||||
commands = bash -c "ansible-lint -vvv \
|
||||
$(find {toxinidir}/ansible -path '*.yml' \
|
||||
-not -path '{toxinidir}/ansible/roles/*.*/*' -print)"
|
||||
{toxinidir}/ansible/deploy.yml \
|
||||
{toxinidir}/ansible/teardown.yml"
|
||||
|
||||
[testenv:releasenotes]
|
||||
deps =
|
||||
|
Loading…
Reference in New Issue
Block a user