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-extract

15 lines
281 B
Plaintext
Raw Normal View History

2020-03-19 22:29:59 +00:00
#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
APP="$1"; verify_app_name "$APP"
TMP_WORK_DIR="$2"
pushd "$TMP_WORK_DIR" >/dev/null
2020-03-19 22:33:05 +00:00
cp -r "ansible/*" "$DOKKU_LIB_ROOT/data/ansible/$APP"
2020-03-19 22:29:59 +00:00
popd >/dev/null