summaryrefslogtreecommitdiffstats
path: root/offline-installer-review.sh
diff options
context:
space:
mode:
Diffstat (limited to 'offline-installer-review.sh')
-rwxr-xr-xoffline-installer-review.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/offline-installer-review.sh b/offline-installer-review.sh
index 3e011ea2..69f438dd 100755
--- a/offline-installer-review.sh
+++ b/offline-installer-review.sh
@@ -36,7 +36,7 @@ function run_molecule() {
local MOLECULE_RC
for role in ${roles[@]}
do
- if `find ${role} -name molecule.yml | grep -q '.*'`; then
+ if [ -f ${role}/molecule/default/molecule.yml ]; then
./ansible/test/bin/ci-molecule.sh ${role}
MOLECULE_RC=$?
if [ ${MOLECULE_RC} -ne "0" ]; then FAILED_ROLES+=(${role}); fi