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

12 lines
308 B
Plaintext
Raw Normal View History

2020-03-19 00:43:41 +00:00
#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
2020-03-19 01:19:57 +00:00
APP="$1"
PLAYBOOK="$DOKKU_ROOT/$APP/ansible/post-deploy.yml"
REQUIREMENTS="$DOKKU_ROOT/$APP/ansible/requirements.yml"
2020-03-19 00:43:41 +00:00
echo "-----> Running post-deploy ansible playbook"
. $(dirname "$0")/functions
2020-03-19 01:19:57 +00:00
run_playbook "$PLAYBOOK" "$REQUIREMENTS"