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:
Mark Goddard 2021-03-24 10:34:36 +00:00
parent f34bb772a0
commit 945a79bc0b

View File

@ -67,8 +67,8 @@ setenv = ANSIBLE_LIBRARY = {toxinidir}/ansible/action_plugins/
# Exclude roles downloaded from Galaxy (in the form 'author.role') from # Exclude roles downloaded from Galaxy (in the form 'author.role') from
# linting. # linting.
commands = bash -c "ansible-lint -vvv \ commands = bash -c "ansible-lint -vvv \
$(find {toxinidir}/ansible -path '*.yml' \ {toxinidir}/ansible/deploy.yml \
-not -path '{toxinidir}/ansible/roles/*.*/*' -print)" {toxinidir}/ansible/teardown.yml"
[testenv:releasenotes] [testenv:releasenotes]
deps = deps =