Adding certbot requirement for relevant tasks

This commit is contained in:
Tyler Hale 2023-04-05 06:22:10 -06:00
parent 51d423dafe
commit 76bf97612b
Signed by: Tyler
GPG key ID: C7CC4B910D88EF96

View file

@ -27,17 +27,20 @@
src: certbot-renewal.service.j2
dest: /etc/systemd/system/certbot-renewal.service
notify: Daemon Reload
when: zammad_certbot
- name: Deploy certbot renewal timer
template:
src: certbot-renewal.timer.j2
dest: /etc/systemd/system/certbot-renewal.timer
notify: Daemon Reload
when: zammad_certbot
- name: Enable systemd timer for certbot renewal
service:
name: certbot-renewal.timer
enabled: yes
when: zammad_certbot
- name: Get localectl status
shell: