diff --git a/.gitea/workflows/molecule.yml b/.gitea/workflows/molecule.yml index 6aa4327..888cf1c 100644 --- a/.gitea/workflows/molecule.yml +++ b/.gitea/workflows/molecule.yml @@ -70,7 +70,10 @@ jobs: # message when this runs before it has. - name: Check the provisioned tooling run: | - test -x "$MOLECULE_VENV/bin/molecule" || { echo "::error::molecule is not installed on this runner: run install_services for kamino-runner first"; exit 1; } + if ! test -x "$MOLECULE_VENV/bin/molecule"; then + echo "::error::molecule is not installed on this runner: run install_services for kamino-runner first" + exit 1 + fi docker version --format '{{.Server.Version}}' || { echo "::error::the Docker daemon is not reachable by the runner user"; exit 1; } # The Collection must sit at ansible_collections/mortis/kamino for FQCNs to resolve.