mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-19 17:01:37 +02:00
fix defaults to not use dns and certbot pkg name
This commit is contained in:
parent
d1ddde3404
commit
cb2fc581c3
@ -14,6 +14,17 @@ certbot_delete_certificate: false
|
||||
# Parameters used when creating new Certbot certs.
|
||||
certbot_create_if_missing: false
|
||||
certbot_create_method: standalone
|
||||
# certbot_create_method: dns
|
||||
|
||||
# Parameters DNS Plugins (used when certbot_create_method = dns)
|
||||
# certbot_dns_plugin: rfc2136
|
||||
# certbot_dns_credentials_custom_file: <file-path> # use when plugin is != rfc2136
|
||||
# certbot_dns_target_server: 127.0.0.1
|
||||
# certbot_dns_target_server_port: 53
|
||||
# certbot_dns_tsig_keyname: "certbot."
|
||||
# certbot_dns_key_secret: "azertyAZERTY123456"
|
||||
# certbot_dns_key_algorithm: "HMAC-MD5"
|
||||
|
||||
certbot_admin_email: email@example.com
|
||||
certbot_certs: []
|
||||
# - email: janedoe@example.com
|
||||
@ -36,15 +47,6 @@ certbot_create_command: >-
|
||||
if certbot_create_standalone_stop_services
|
||||
else '' }}
|
||||
|
||||
# Parameters DNS Plugins (used when certbot_create_method = dns)
|
||||
certbot_dns_plugin: rfc2136
|
||||
# certbot_dns_credentials_custom_file: <file-path> # use when plugin is != rfc2136
|
||||
# certbot_dns_target_server: 127.0.0.1
|
||||
# certbot_dns_target_server_port: 53
|
||||
# certbot_dns_tsig_keyname: "certbot."
|
||||
# certbot_dns_key_secret: "azertyAZERTY123456"
|
||||
# certbot_dns_key_algorithm: "HMAC-MD5"
|
||||
|
||||
certbot_dns_create_command: >-
|
||||
{{ certbot_script }} certonly --noninteractive --agree-tos
|
||||
{{ '--test-cert'
|
||||
|
@ -3,7 +3,7 @@
|
||||
package: "name={{ certbot_package }} state=present"
|
||||
|
||||
- name: Install DNS Plugin - {{ certbot_dns_plugin }}.
|
||||
package: name="certbot-dns-{{ certbot_dns_plugin }} state=present"
|
||||
package: name="python3-certbot-dns-{{ certbot_dns_plugin }} state=present"
|
||||
when: certbot_dns_plugin is defined
|
||||
|
||||
- name: Set Certbot script variable.
|
||||
|
Loading…
x
Reference in New Issue
Block a user