summaryrefslogtreecommitdiffstats
path: root/ansible/test/bin
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/test/bin')
-rwxr-xr-xansible/test/bin/ci-molecule.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/ansible/test/bin/ci-molecule.sh b/ansible/test/bin/ci-molecule.sh
index 9fbaad51..be598a48 100755
--- a/ansible/test/bin/ci-molecule.sh
+++ b/ansible/test/bin/ci-molecule.sh
@@ -24,6 +24,8 @@
# Molecule can be adjusted in this script independently.
#
+set -e
+
SCRIPT_DIR=$(dirname "${0}")
LOCAL_PATH=$(readlink -f "$SCRIPT_DIR")
@@ -45,8 +47,8 @@ else # Install Molecule natively in the target platform
MOLECULE_BINARY=molecule
fi
-${MOLECULE_BINARY} --version
-
cd ${ROLE_PATH}
+${MOLECULE_BINARY} --version
${MOLECULE_BINARY} test --all
cd -
+