mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
16 lines
278 B
Bash
Executable File
16 lines
278 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Use Ansible from virtualenv if provided
|
|
if [[ -f .venv/bin/ansible ]]; then
|
|
source .venv/bin/activate
|
|
pip install molecule docker six
|
|
fi
|
|
|
|
for role in `find roles/ -name molecule`; do
|
|
pushd `dirname $role`
|
|
molecule test --all
|
|
popd
|
|
done
|