aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-03-14 11:21:20 +0800
committerAaron LI <aly@aaronly.me>2018-03-14 11:35:08 +0800
commitecdb5f1a09b80d8b09041ad51f2ab9f8a2b06a38 (patch)
treecef390a8e54b66580cc8286b9f78d650af1f2832 /roles
parent691afd098079d2c2457b75a94ac17510bc95a01b (diff)
downloadansible-dfly-vps-ecdb5f1a09b80d8b09041ad51f2ab9f8a2b06a38.tar.bz2
web/acme: minor improve output format
Diffstat (limited to 'roles')
-rwxr-xr-xroles/web/files/acme/acme-client.sh1
-rwxr-xr-xroles/web/files/acme/deploy.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/roles/web/files/acme/acme-client.sh b/roles/web/files/acme/acme-client.sh
index 1f4b15d..20e1106 100755
--- a/roles/web/files/acme/acme-client.sh
+++ b/roles/web/files/acme/acme-client.sh
@@ -114,4 +114,5 @@ grep -v '^\s*#' "${DOMAINSFILE}" | while read domain line; do
[ $RC -ne 0 -a $RC -ne 2 ] && exit $RC
done
+printf "-------------------------------------------------------------\n"
exit 0
diff --git a/roles/web/files/acme/deploy.sh b/roles/web/files/acme/deploy.sh
index 9c6fff2..5e5ad4d 100755
--- a/roles/web/files/acme/deploy.sh
+++ b/roles/web/files/acme/deploy.sh
@@ -11,6 +11,7 @@
# Services to be restarted after ACME certificate update
SERVICES="nginx dovecot postfix"
+printf "-------------------------------------------------------------\n"
for srv in ${SERVICES}; do
if service ${srv} status >/dev/null 2>&1; then
echo "ACME deploy: restarting ${srv} ..."