mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2026-08-25 01:05:36 +02:00
certbot_create_method 'dns-cloudflare'
This commit is contained in:
@@ -40,6 +40,9 @@ certbot_create_command: >-
|
||||
{{ '--webroot-path ' if certbot_create_method == 'webroot' else '' }}
|
||||
{{ cert_item.webroot | default(certbot_webroot) if certbot_create_method == 'webroot' else '' }}
|
||||
{{ certbot_create_extra_args }}
|
||||
{{ '--dns-cloudflare-credentials /etc/letsencrypt/dnscloudflare.ini'
|
||||
if certbot_create_method == 'dns-cloudflare'
|
||||
else '' }}
|
||||
--cert-name {{ cert_item_name }}
|
||||
-d {{ cert_item.domains | join(',') }}
|
||||
{{ '--expand' if certbot_expand else '' }}
|
||||
@@ -58,6 +61,8 @@ certbot_create_standalone_stop_services:
|
||||
# - apache
|
||||
# - varnish
|
||||
|
||||
certbot_dns_cloudflare_api_token: fakeone
|
||||
|
||||
# Available options: 'package', 'snap', 'source'.
|
||||
certbot_install_method: 'package'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user