tests/str: Verify standard-test-roles is installed

This tripped me up when regenerating my dev container.

Closes: #1509
Approved by: jlebon
This commit is contained in:
Colin Walters 2018-03-22 10:55:16 -04:00 committed by Atomic Bot
parent d48ccbcabf
commit dca1cfa60f
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ EOF
fi fi
ls -al ${TEST_SUBJECTS} ls -al ${TEST_SUBJECTS}
# This is required
rpm -q standard-test-roles
export ANSIBLE_INVENTORY=${ANSIBLE_INVENTORY:-$(test -e inventory && echo inventory || echo /usr/share/ansible/inventory)} export ANSIBLE_INVENTORY=${ANSIBLE_INVENTORY:-$(test -e inventory && echo inventory || echo /usr/share/ansible/inventory)}
ls -al /dev/kvm ls -al /dev/kvm
exec ansible-playbook --tags=atomic "$@" exec ansible-playbook --tags=atomic "$@"