diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-09-29 09:40:59 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-09-29 09:40:59 +0300 |
commit | 32a808d66c021f2cd3de9b2f61fbf6daae25052d (patch) | |
tree | debf8eb9b19669c31491ca413536aafdba817e88 | |
parent | 06fa219a4adb3e6818063621d5b6a466501c3760 (diff) | |
download | debian-ansible-32a808d66c021f2cd3de9b2f61fbf6daae25052d.tar.gz |
Change: don't terminate even if certbot fails
Need to restart apache back up again.
-rw-r--r-- | roles/apache_server/templates/deploy_static_site_certs | 2 |
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 |