mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2026-09-12 00:31:16 +02:00
Implement support for DNS install method
This commit is contained in:
+3
-2
@@ -8,7 +8,7 @@ certbot_auto_renew_options: "--quiet"
|
||||
|
||||
certbot_testmode: false
|
||||
certbot_hsts: false
|
||||
|
||||
certbot_create_extra_args: ""
|
||||
|
||||
# Parameters used when creating new Certbot certs.
|
||||
certbot_create_if_missing: false
|
||||
@@ -28,7 +28,8 @@ certbot_certs: []
|
||||
# - example3.com
|
||||
|
||||
certbot_create_command: >-
|
||||
{{ certbot_script }} certonly --{{ certbot_create_method }}
|
||||
{{ certbot_script }} certonly
|
||||
--{{ certbot_create_method }}{{ "-" ~ certbot_dns_plugin if certbot_create_method == 'dns' else '' }}
|
||||
{{ '--hsts' if certbot_hsts else '' }}
|
||||
{{ '--test-cert' if certbot_testmode else '' }}
|
||||
--noninteractive --agree-tos
|
||||
|
||||
Reference in New Issue
Block a user