17 lines
451 B
Bash
Executable file
17 lines
451 B
Bash
Executable file
#!/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
|