From cf08a77573faedbbdde826c59250e8598e149612 Mon Sep 17 00:00:00 2001 From: Bastian de Byl Date: Mon, 18 Jul 2022 23:34:53 -0400 Subject: [PATCH] re-corrected letsencrypt post-hook --- 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 8a41718..6c31179 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 --post-hook "su -s /bin/sh podman -c 'podman restart nginx'" + certbot renew --post-hook "su -s /bin/sh podman -c 'cd; podman restart nginx'" tags: cron