Fixes #12: Document how to generate certs automatically using certbot --standalone.

This commit is contained in:
Jeff Geerling
2017-12-11 22:17:25 -06:00
parent 5f7c9e046c
commit d3f98e4258
5 changed files with 65 additions and 24 deletions
+7 -6
View File
@@ -7,13 +7,9 @@ certbot_auto_renew_minute: 30
certbot_auto_renew_options: "--quiet --no-self-upgrade"
# Parameters used when creating new Certbot certs.
certbot_admin_email: email@example.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_create_if_missing: no
certbot_create_stop_services:
- nginx
# - apache
# - varnish
certbot_create_method: standalone
certbot_admin_email: email@example.com
certbot_certs: []
# - email: janedoe@example.com
# domains:
@@ -21,6 +17,11 @@ certbot_certs: []
# - example2.com
# - 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_create_standalone_stop_services:
- nginx
# - apache
# - varnish
# To install from source (on older OSes or if you need a specific or newer
# version of Certbot), set this variable to `yes` and configure other options.