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 - name: Restart certbot-renew service
service: service:
name: certbot-renew name: certbot-renew.timer
state: restarted state: restarted
enabled: true enabled: true
listen: restart-certbot-renew-service listen: restart-certbot-renew-service

View File

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

View File

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