This repository has been archived on 2020-05-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
dokku-ansible-playbook/post-deploy
T

13 lines
327 B
Bash
Executable File

#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
APP="$1"
PLAYBOOK="$DOKKU_LIB_ROOT/data/ansible/$APP/post-deploy.yml"
REQUIREMENTS="$DOKKU_LIB_ROOT/data/ansible/$APP/requirements.yml"
. $(dirname "$0")/functions
echo "-----> Running post-deploy ansible playbook"
run_playbook "$PLAYBOOK" "$REQUIREMENTS"