Added option to immediately execute renewal script
This commit is contained in:
parent
aa9e1b2346
commit
f3b37d3934
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
certbot_os_supported: False
|
||||
|
||||
certbot_immediately_execute_script: True
|
|
@ -60,3 +60,7 @@
|
|||
- name: Obtain certificate
|
||||
shell: certbot certonly --standalone --rsa-key-size 4096 {% for domain in certbot_domains %}-d {{ domain }} {% endfor %}-m {{ certbot_mail_address }} --agree-tos
|
||||
when: live_cert.stat.exists == False
|
||||
|
||||
- name: Execute post-renewal script if desired
|
||||
shell: "{{ certbot_renewal_scripts_path }}{{ certbot_domains[0] }}.sh"
|
||||
when: certbot_immediately_execute_script
|
Loading…
Add table
Add a link
Reference in a new issue