agaric-coop/box/provisioning/roles/franklinkim.newrelic/tests/run.sh

18 lines
451 B
Bash
Raw Permalink Normal View History

#!/bin/bash
# define variables
ROLE_NAME=franklinkim.newrelic
# install dependencies
# echo '* installing dependencies'
# ansible-galaxy install franklinkim.openssl
# create role symlink
echo '* creating symlink'
ln -s $(pwd) /usr/share/ansible/roles/$ROLE_NAME
# run tests
echo 'running playbook'
ansible-playbook --syntax-check -i 'localhost,' -c local $(pwd)/tests/main.yml
ansible-playbook -vvvv -i 'localhost,' -c local $(pwd)/tests/main.yml