mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-19 17:01:37 +02:00
added crontab extra parameter
This commit is contained in:
parent
01d801c4b7
commit
244d81a994
@ -4,6 +4,7 @@ certbot_auto_renew: true
|
|||||||
certbot_auto_renew_user: "{{ ansible_user }}"
|
certbot_auto_renew_user: "{{ ansible_user }}"
|
||||||
certbot_auto_renew_hour: 3
|
certbot_auto_renew_hour: 3
|
||||||
certbot_auto_renew_minute: 30
|
certbot_auto_renew_minute: 30
|
||||||
|
certbot_auto_renew_parameters: ""
|
||||||
|
|
||||||
# To install from source (on older OSes or if you need a specific or newer
|
# 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.
|
# version of Certbot), set this variable to `yes` and configure other options.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
- name: Add cron job for certbot renewal (if configured).
|
- name: Add cron job for certbot renewal (if configured).
|
||||||
cron:
|
cron:
|
||||||
name: Certbot automatic renewal.
|
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 }}"
|
minute: "{{ certbot_auto_renew_minute }}"
|
||||||
hour: "{{ certbot_auto_renew_hour }}"
|
hour: "{{ certbot_auto_renew_hour }}"
|
||||||
user: "{{ certbot_auto_renew_user }}"
|
user: "{{ certbot_auto_renew_user }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user