Don't wildcard in quotes
This commit is contained in:
parent
4059039bc3
commit
dd07b473d3
@ -10,7 +10,7 @@ dokku-ansible-playbook-post-extract() {
|
|||||||
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/*.yml" "$DOKKU_LIB_ROOT/data/ansible/$APP"
|
cp -r "$TMPDIR/ansible/." "$DOKKU_LIB_ROOT/data/ansible/$APP"
|
||||||
if [[ -f "$TMPDIR/ansible/.vault.sh" ]]; then
|
if [[ -f "$TMPDIR/ansible/.vault.sh" ]]; then
|
||||||
dokku_col_log_info1_quiet "Moving vault password file into place"
|
dokku_col_log_info1_quiet "Moving vault password file into place"
|
||||||
cp -r "$TMPDIR/ansible/.vault.sh" "$DOKKU_LIB_ROOT/data/ansible/$APP"
|
cp -r "$TMPDIR/ansible/.vault.sh" "$DOKKU_LIB_ROOT/data/ansible/$APP"
|
||||||
|
Reference in New Issue
Block a user