forked from evolix/ansible-roles
certbot: sync_remote.sh uses quotes for variable export
This commit is contained in:
parent
e45ee59801
commit
887c1552cb
|
@ -44,7 +44,7 @@ main() {
|
||||||
|| error "Couldn't sync hooks on ${server}"
|
|| error "Couldn't sync hooks on ${server}"
|
||||||
|
|
||||||
# shellcheck disable=SC2029
|
# shellcheck disable=SC2029
|
||||||
ssh "${remote_host}" "export RENEWED_LINEAGE=\"${remote_lineage}/\" RENEWED_DOMAINS=${RENEWED_DOMAINS}; find ${remote_dir}/hooks/ -mindepth 1 -maxdepth 1 -type f -executable -exec {} \;" \
|
ssh "${remote_host}" "export RENEWED_LINEAGE=\"${remote_lineage}/\" RENEWED_DOMAINS=\"${RENEWED_DOMAINS}\"; find ${remote_dir}/hooks/ -mindepth 1 -maxdepth 1 -type f -executable -exec {} \;" \
|
||||||
|| error "Something went wrong on ${server} for deploy hooks"
|
|| error "Something went wrong on ${server} for deploy hooks"
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue