Skip to content

Commit

Permalink
Fix play location in run.sh script (#36)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt authored Jul 5, 2024
1 parent df1346a commit 7fab749
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if [[ -e $ENVIRONMENTS_DIRECTORY/$ENVIRONMENT/playbook-$service.yml ]]; then
-e @configuration.yml \
"$@" \
playbook-$service.yml
elif [[ -e $ANSIBLE_DIRECTORY/$ENVIRONMENT/$service.yml ]]; then
if [[ -e $ANSIBLE_DIRECTORY/$ENVIRONMENT-$service.yml ]]; then
ansible-playbook \
--vault-password-file $VAULT \
-e @$ENVIRONMENTS_DIRECTORY/configuration.yml \
Expand All @@ -68,7 +68,7 @@ elif [[ -e $ANSIBLE_DIRECTORY/$ENVIRONMENT/$service.yml ]]; then
-e @images.yml \
-e @configuration.yml \
"$@" \
$ANSIBLE_DIRECTORY/$ENVIRONMENT/$service.yml
$ANSIBLE_DIRECTORY/$ENVIRONMENT-$service.yml
else
echo "ERROR: service $service in environment $ENVIRONMENT not available"
exit 1
Expand Down

0 comments on commit 7fab749

Please sign in to comment.