mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
16 lines
274 B
Bash
Executable File
16 lines
274 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
|
|
fi
|
|
|
|
for role in `find roles/ -name molecule`; do
|
|
pushd `dirname $role`
|
|
molecule test --all
|
|
popd
|
|
done
|