update path to ansible-galaxy

This commit is contained in:
Bertrand Lanson 2023-07-17 23:53:58 +02:00
parent 10cebfa380
commit d2d1318d91

View File

@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
set -e set -e
command_string="ansible-galaxy role import" command_string="/usr/local/bin/ansible-galaxy role import"
if [ -n "${GALAXY_API_TOKEN}" ]; then if [ -n "${GALAXY_API_TOKEN}" ]; then
command_string="$command_string --api-key ${GALAXY_API_TOKEN} ${GITHUB_REPOSITORY%/*} ${GITHUB_REPOSITORY#*/}" command_string="$command_string --api-key ${GALAXY_API_TOKEN} ${GITHUB_REPOSITORY%/*} ${GITHUB_REPOSITORY#*/}"