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
|
src: certbot-renewal.service.j2
|
||||||
dest: /etc/systemd/system/certbot-renewal.service
|
dest: /etc/systemd/system/certbot-renewal.service
|
||||||
notify: Daemon Reload
|
notify: Daemon Reload
|
||||||
|
when: zammad_certbot
|
||||||
|
|
||||||
- name: Deploy certbot renewal timer
|
- name: Deploy certbot renewal timer
|
||||||
template:
|
template:
|
||||||
src: certbot-renewal.timer.j2
|
src: certbot-renewal.timer.j2
|
||||||
dest: /etc/systemd/system/certbot-renewal.timer
|
dest: /etc/systemd/system/certbot-renewal.timer
|
||||||
notify: Daemon Reload
|
notify: Daemon Reload
|
||||||
|
when: zammad_certbot
|
||||||
|
|
||||||
- name: Enable systemd timer for certbot renewal
|
- name: Enable systemd timer for certbot renewal
|
||||||
service:
|
service:
|
||||||
name: certbot-renewal.timer
|
name: certbot-renewal.timer
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
when: zammad_certbot
|
||||||
|
|
||||||
- name: Get localectl status
|
- name: Get localectl status
|
||||||
shell:
|
shell:
|
||||||
|
|
Loading…
Reference in a new issue