Enabling timer

This commit is contained in:
Tyler Hale 2022-09-01 05:45:08 -06:00
parent b599bade6f
commit bb6f4fa8cc
Signed by: Tyler
GPG key ID: C7CC4B910D88EF96

View file

@ -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 }}"