From 9ae81edebc543c75a4c1bd24ee7e75b88894b41f Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Thu, 19 Mar 2020 02:19:51 +0100 Subject: [PATCH] Remove that hook --- README.md | 13 +++++++------ create-app | 9 --------- 2 files changed, 7 insertions(+), 15 deletions(-) delete mode 100755 create-app diff --git a/README.md b/README.md index c880d8b..7b9f034 100644 --- a/README.md +++ b/README.md @@ -5,29 +5,30 @@ Run ansible playbooks during deployment. ## Requirements * dokku 0.19.13+ -* Debian based system (uses `apt` package manager) +* [dokku-supply-config](https://github.com/dokku-community/dokku-supply-config) +* Debian based system (uses `apt` package manager for dependencies) ## Installation ```shell +$ dokku plugin:install https://github.com/josegonzalez/dokku-supply-config.git $ dokku plugin:install https://github.com/decentral1se/dokku-ansible-playbook.git ``` ## Usage -All files must be placed within the `.ansible` folder of your git repository. +All files must be placed within the `.dokku/ansible` folder of your git repository. * `requirements.yml`: what role dependencies to download before running your plays. -The following hooks are supported (add `.yml` to the hook name in `.ansible`): +The following hooks are supported (add `.yml` to the hook name in `.dokku/ansible`): * `pre-deploy` * `post-deploy` -* `create-app` ## Example -### .ansible/requirements.yml +### .dokku/ansible/requirements.yml ```yaml --- @@ -35,7 +36,7 @@ The following hooks are supported (add `.yml` to the hook name in `.ansible`): version: v2020.3.15 ``` -### .ansible/create-app.yml +### .dokku/ansible/pre-deploy.yml ```yaml --- diff --git a/create-app b/create-app deleted file mode 100755 index 7cbeceb..0000000 --- a/create-app +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x - -PLAYBBOOK=".ansible/create-app.yml" - -echo "-----> Running create-app ansible playbook" -. $(dirname "$0")/functions -run_playbook "$PLAYBOOK"