From d52b8f07d247e79b1cda3ac56f3435683b719951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Thu, 18 Apr 2024 18:03:37 +0300 Subject: [PATCH] Deployer Tasks: Certbot Update --- tasks/deployer.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/tasks/deployer.yml b/tasks/deployer.yml index 384b713..9ff37f4 100644 --- a/tasks/deployer.yml +++ b/tasks/deployer.yml @@ -1,21 +1,21 @@ --- -#- name: "Deployer - Certbot - Renew Certificates" -# command: "certbot renew" -# register: task -# changed_when: task.stdout.find("No renewals were attempted.") == -1 -# tags: -# - certbot -# - tls +- name: "Deployer - Certbot - Renew Certificates" + command: "certbot renew" + register: task + changed_when: task.stdout.find("No renewals were attempted.") == -1 + tags: + - certbot + - tls -# - name: "Deployer - Certbot - Copy Certificates" -# copy: -# src: "/etc/letsencrypt/live/mpp/" -# dest: "/root/certs/mpp/" -# follow: true -# register: task -# tags: -# - certbot -# - tls +- name: "Deployer - Certbot - Copy Certificates" + copy: + src: "/etc/letsencrypt/live/mpp/" + dest: "/root/certs/mpp/" + follow: true + register: task + tags: + - certbot + - tls - name: "Deployer - MariaDB - Pull Image" containers.podman.podman_image: