Adding certbot requirement for relevant tasks
This commit is contained in:
parent
51d423dafe
commit
76bf97612b
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue