diff --git a/ansible/roles/http/tasks/cron.yml b/ansible/roles/http/tasks/cron.yml index 7295af1..9ca7831 100644 --- a/ansible/roles/http/tasks/cron.yml +++ b/ansible/roles/http/tasks/cron.yml @@ -5,5 +5,6 @@ name: certbot_renew special_time: weekly job: | - certbot renew --pre-hook "systemctl stop nginx" --post-hook "systemctl start nginx" + certbot renew --pre-hook "systemctl stop nginx" \ + --post-hook "systemctl start nginx" tags: cron