mirror of
https://github.com/MatteZ02/infra.git
synced 2024-11-09 20:40:18 +00:00
Deployer Tasks: Certbot Update
This commit is contained in:
parent
ae1c3587f9
commit
d52b8f07d2
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user