explicitly added nginx parameter

This commit is contained in:
Philip (a-0) 2022-07-22 01:02:38 +02:00
parent 46fcdd854c
commit 358b5cee12

View file

@ -63,7 +63,7 @@
register: live_cert
- name: Obtain certificate
shell: certbot certonly --rsa-key-size 4096 {% for domain in certbot_domains %}-d {{ domain }} {% endfor %}-m {{ certbot_mail_address }} --agree-tos
shell: certbot certonly --nginx --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