summaryrefslogtreecommitdiff
path: root/roles/apache_server
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-09-29 09:40:59 +0300
committerLars Wirzenius <liw@liw.fi>2019-09-29 09:40:59 +0300
commit32a808d66c021f2cd3de9b2f61fbf6daae25052d (patch)
treedebf8eb9b19669c31491ca413536aafdba817e88 /roles/apache_server
parent06fa219a4adb3e6818063621d5b6a466501c3760 (diff)
downloaddebian-ansible-32a808d66c021f2cd3de9b2f61fbf6daae25052d.tar.gz
Change: don't terminate even if certbot fails
Need to restart apache back up again.
Diffstat (limited to 'roles/apache_server')
-rw-r--r--roles/apache_server/templates/deploy_static_site_certs2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/apache_server/templates/deploy_static_site_certs b/roles/apache_server/templates/deploy_static_site_certs
index 3239ff0..4933d56 100644
--- a/roles/apache_server/templates/deploy_static_site_certs
+++ b/roles/apache_server/templates/deploy_static_site_certs
@@ -36,6 +36,6 @@ systemctl stop apache2
for list in /etc/letsencrypt/*.list
do
certname="$(basename "$list" .list)"
- run_certbot "$list" "$certname"
+ run_certbot "$list" "$certname" || true
done
systemctl start apache2