Fixes timer creation

This commit is contained in:
Nikolaos Kakouros 2017-09-06 22:41:12 +02:00
parent 31451b91eb
commit d63d769983
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
- name: Restart certbot-renew service
service:
name: certbot-renew
name: certbot-renew.timer
state: restarted
enabled: true
listen: restart-certbot-renew-service

View File

@ -8,6 +8,6 @@
- name: Create certbot-renew timer
template:
src: certbot-renew.timer
dest: /etc/systemd/system/certbot-renew.timer.j2
src: certbot-renew.timer.j2
dest: /etc/systemd/system/certbot-renew.timer
notify: restart-certbot-renew-service

View File

@ -1,5 +1,5 @@
[Unit]
Description=Let's Encrypt renewal
Description=Let's Encrypt renewal service
[Service]
User={{ certbot_auto_renew_user }}