fix defaults to not use dns and certbot pkg name

This commit is contained in:
brunobenchimol 2021-11-15 21:00:12 -03:00
parent d1ddde3404
commit cb2fc581c3
2 changed files with 12 additions and 10 deletions

View File

@ -14,6 +14,17 @@ certbot_delete_certificate: false
# Parameters used when creating new Certbot certs. # Parameters used when creating new Certbot certs.
certbot_create_if_missing: false certbot_create_if_missing: false
certbot_create_method: standalone 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_admin_email: email@example.com
certbot_certs: [] certbot_certs: []
# - email: janedoe@example.com # - email: janedoe@example.com
@ -36,15 +47,6 @@ certbot_create_command: >-
if certbot_create_standalone_stop_services if certbot_create_standalone_stop_services
else '' }} 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_dns_create_command: >-
{{ certbot_script }} certonly --noninteractive --agree-tos {{ certbot_script }} certonly --noninteractive --agree-tos
{{ '--test-cert' {{ '--test-cert'

View File

@ -3,7 +3,7 @@
package: "name={{ certbot_package }} state=present" package: "name={{ certbot_package }} state=present"
- name: Install DNS Plugin - {{ certbot_dns_plugin }}. - 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 when: certbot_dns_plugin is defined
- name: Set Certbot script variable. - name: Set Certbot script variable.