Merge 244d81a9941d50798d933178533d7cd63e1c07ef into 01d801c4b71cb6e345e89622b142049da40b1017

This commit is contained in:
avra911 2017-04-25 12:58:52 +00:00 committed by GitHub
commit 3c5c1345d7
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ certbot_auto_renew: true
certbot_auto_renew_user: "{{ ansible_user }}"
certbot_auto_renew_hour: 3
certbot_auto_renew_minute: 30
certbot_auto_renew_parameters: ""
# To install from source (on older OSes or if you need a specific or newer
# version of Certbot), set this variable to `yes` and configure other options.

View File

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