Adding route53 dns as default challenge

This commit is contained in:
Thiago Almeida
2020-09-11 15:44:17 +02:00
parent 5ac9b8da7c
commit e5f663e5b3
7 changed files with 43 additions and 11 deletions
+6 -4
View File
@@ -1,10 +1,12 @@
---
# Certbot auto-renew cron job configuration (for certificate renewals).
certbot_test: false
certbot_auto_renew: true
certbot_auto_renew_user: "{{ ansible_user | default(lookup('env', 'USER')) }}"
certbot_auto_renew_hour: "3"
certbot_auto_renew_minute: "30"
certbot_auto_renew_options: "--quiet --no-self-upgrade"
certbot_auto_renew_options: >-
--quiet --no-self-upgrade --dns-route53 {%if certbot_test%}--test{%endif%}
# Parameters used when creating new Certbot certs.
certbot_create_if_missing: false
@@ -18,9 +20,9 @@ certbot_certs: []
# - domains:
# - example3.com
certbot_create_command: >-
{{ certbot_script }} certonly --standalone --noninteractive --agree-tos
--email {{ cert_item.email | default(certbot_admin_email) }}
-d {{ cert_item.domains | join(',') }}
{{ certbot_script }} certonly --noninteractive --agree-tos
--email {{ cert_item.email | default(certbot_admin_email) }} --dns-route53
-d {{ cert_item.domains | join(",") }} {%if certbot_test%}--test{%endif%}
certbot_create_standalone_stop_services:
- nginx