Removes cron yml

This commit is contained in:
Nikolaos Kakouros 2017-09-06 22:36:30 +02:00
parent 3e46e4ba8f
commit 31451b91eb
2 changed files with 1 additions and 9 deletions

View File

@ -1,8 +0,0 @@
---
- name: Add cron job for certbot renewal (if configured).
cron:
name: Certbot automatic renewal.
job: "{{ certbot_script }} renew --quiet --no-self-upgrade"
minute: "{{ certbot_auto_renew_minute }}"
hour: "{{ certbot_auto_renew_hour }}"
user: "{{ certbot_auto_renew_user }}"

View File

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