Enabling timer
This commit is contained in:
parent
b599bade6f
commit
bb6f4fa8cc
1 changed files with 7 additions and 1 deletions
|
@ -20,12 +20,18 @@
|
||||||
dest: /etc/systemd/system/certbot-renewal.service
|
dest: /etc/systemd/system/certbot-renewal.service
|
||||||
notify: Daemon Reload
|
notify: Daemon Reload
|
||||||
|
|
||||||
- name: Deploy borgbackups 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
|
||||||
|
|
||||||
|
- name: Start and enable systemd timer for certbot renewal
|
||||||
|
service:
|
||||||
|
name: certbot-renewal.timer
|
||||||
|
state: started
|
||||||
|
enabled: yes
|
||||||
|
|
||||||
- name: Generate ssh keypair
|
- name: Generate ssh keypair
|
||||||
user:
|
user:
|
||||||
name: "{{ haproxy_certbot_user }}"
|
name: "{{ haproxy_certbot_user }}"
|
||||||
|
|
Loading…
Reference in a new issue