From ce18a1206c9e6ca74177c8ca16e42efae934c00f Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sat, 6 Jan 2024 18:57:53 +0000 Subject: Make certbot a role --- roles/certbot/files/certbot.service | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 roles/certbot/files/certbot.service (limited to 'roles/certbot/files/certbot.service') diff --git a/roles/certbot/files/certbot.service b/roles/certbot/files/certbot.service new file mode 100644 index 0000000..bea307c --- /dev/null +++ b/roles/certbot/files/certbot.service @@ -0,0 +1,6 @@ +[Unit] +Description=Let's Encrypt renewal + +[Service] +Type=oneshot +ExecStart=/usr/bin/certbot renew --agree-tos --deploy-hook "systemctl reload nginx" -- cgit v1.2.3-70-g09d2