From 945a79bc0b7123d8195c64320eaea5c0ac436470 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Wed, 24 Mar 2021 10:34:36 +0000 Subject: [PATCH] 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 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index e4be523..5b2750a 100644 --- a/tox.ini +++ b/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 =