Browse Source

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
changes/82/782682/1
Mark Goddard 6 months ago
parent
commit
945a79bc0b
  1. 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…
Cancel
Save