From 9e610eaf11b19ffe54be9c46c458e607ba3b37c5 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 8 Sep 2024 09:15:36 -0500 Subject: [PATCH] r/minio-backups-cert: Enable/start cerbot timer Forgot to ensure the _certbot-renew.timer_ unit was enabled and started, so the MinIO certificate did not get renewed the first time. --- roles/minio-backups-cert/tasks/main.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/roles/minio-backups-cert/tasks/main.yml b/roles/minio-backups-cert/tasks/main.yml index 1c6a69c..635101e 100644 --- a/roles/minio-backups-cert/tasks/main.yml +++ b/roles/minio-backups-cert/tasks/main.yml @@ -77,4 +77,15 @@ - restart certbot-renew timer tags: - systemd - +- name: ensure certbot-renew timer unit is enabled + systemd: + name: certbot-renew.timer + enabled: true + tags: + - service +- name: ensure certbot-renew timer is running + systemd: + name: certbot-renew.timer + state: started + tags: + - service