From 41792f5ce04482135ed19a725aec3ab8186b4e61 Mon Sep 17 00:00:00 2001 From: Bastian de Byl Date: Tue, 5 Jan 2021 11:40:45 -0500 Subject: [PATCH] noticket Fixed post-hook for certbot renew restarting nginx --- ansible/roles/ssl/tasks/cron.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/ssl/tasks/cron.yml b/ansible/roles/ssl/tasks/cron.yml index 711f104..8b7928a 100644 --- a/ansible/roles/ssl/tasks/cron.yml +++ b/ansible/roles/ssl/tasks/cron.yml @@ -5,5 +5,5 @@ name: certbot_renew special_time: weekly job: >- - certbot renew + certbot renew --post-hook 'systemctl restart nginx' tags: cron