Linting task should lint this role and all dependencies

This is a common pattern in many other independent role
repositories and should be consistent across all of them.

Change-Id: I8ca656ceebf04aade2b3e9a677cf2ccd2c52f388
This commit is contained in:
Travis Truman 2016-05-04 09:49:20 -04:00
parent a2bcc99dfa
commit 5889c8f4af
1 changed files with 7 additions and 0 deletions

View File

@ -101,6 +101,13 @@ commands =
[testenv:ansible-lint]
commands =
rm -rf {homedir}/.ansible
git clone https://git.openstack.org/openstack/openstack-ansible-plugins \
{homedir}/.ansible/plugins
ansible-galaxy install \
--role-file={toxinidir}/tests/ansible-role-requirements.yml \
--ignore-errors \
--force
ansible-lint {toxinidir}/tests/test.yml