Less whitespace
This commit is contained in:
parent
83cf0538c0
commit
a07745764b
@ -12,7 +12,6 @@ dokku-ansible-playbook-post-deploy() {
|
|||||||
. $(dirname "$0")/functions
|
. $(dirname "$0")/functions
|
||||||
|
|
||||||
dokku_col_log_info1_quiet "Running post-deploy ansible playbook"
|
dokku_col_log_info1_quiet "Running post-deploy ansible playbook"
|
||||||
|
|
||||||
run_playbook "$APP" "$PLAYBOOK" "$REQUIREMENTS"
|
run_playbook "$APP" "$PLAYBOOK" "$REQUIREMENTS"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8,7 +8,6 @@ dokku-ansible-playbook-post-extract() {
|
|||||||
declare APP="$1" TMPDIR="$2"
|
declare APP="$1" TMPDIR="$2"
|
||||||
|
|
||||||
dokku_col_log_info1_quiet "Checking for ansible playbooks supplied in repo"
|
dokku_col_log_info1_quiet "Checking for ansible playbooks supplied in repo"
|
||||||
|
|
||||||
if [[ -d "$TMPDIR/ansible" ]] && [[ "$(ls -A "$TMPDIR/ansible")" ]]; then
|
if [[ -d "$TMPDIR/ansible" ]] && [[ "$(ls -A "$TMPDIR/ansible")" ]]; then
|
||||||
mkdir -p "$DOKKU_LIB_ROOT/data/ansible/$APP"
|
mkdir -p "$DOKKU_LIB_ROOT/data/ansible/$APP"
|
||||||
cp -r "$TMPDIR/ansible/." "$DOKKU_LIB_ROOT/data/ansible/$APP"
|
cp -r "$TMPDIR/ansible/." "$DOKKU_LIB_ROOT/data/ansible/$APP"
|
||||||
|
@ -12,7 +12,6 @@ dokku-ansible-playbook-pre-deploy() {
|
|||||||
. $(dirname "$0")/functions
|
. $(dirname "$0")/functions
|
||||||
|
|
||||||
dokku_col_log_info1_quiet "Running pre-deploy ansible playbook"
|
dokku_col_log_info1_quiet "Running pre-deploy ansible playbook"
|
||||||
|
|
||||||
run_playbook "$APP" "$PLAYBOOK" "$REQUIREMENTS"
|
run_playbook "$APP" "$PLAYBOOK" "$REQUIREMENTS"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user