Security: Disable AppArmor check

Some OpenStack infra images don't have AppArmor enabled by default
and this causes V-51337 to fail. This patch skips the task where
AppArmor tag is checked.

Closes-Bug: 1554654

Change-Id: Icf653e2b8f84dbaee76d77f99020879d2e5aa4ea
This commit is contained in:
Major Hayden 2016-03-08 12:45:03 -06:00
parent b4ee0cdc4f
commit 96079d2280

View File

@ -103,6 +103,8 @@ commands =
# NOTE(odyssey4me): We have to skip V-38462 as openstack-infra are now building
# images with apt config Apt::Get::AllowUnauthenticated set
# to true.
# NOTE(mhayden): Some infra images don't have AppArmor enabled, so V-51337
# must be skipped.
commands =
rm -rf {homedir}/.ansible
git clone https://git.openstack.org/openstack/openstack-ansible-plugins \
@ -110,7 +112,7 @@ commands =
ansible-playbook -i {toxinidir}/tests/inventory \
-e "rolename={toxinidir}" \
{toxinidir}/tests/test.yml \
--skip-tag V-38462
--skip-tag V-38462,V-51337
[testenv:linters]