Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.96 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.96 KB

ubuntu-2004-letsencrypt

CI

Set up Let's Encrypt on Ubuntu 20.04.

Variables

  • ubuntu_2004_letsencrypt_admin_email: [optional]: Email used for registration and recovery contact.

  • ubuntu_2004_letsencrypt_certificates_present: [default: []]: List of the certificates to create

  • ubuntu_2004_letsencrypt_certificates_present.{n}.name: [optional, default: domains.0]: The name of the certificate, defaults to the first domain given in domains

  • ubuntu_2004_letsencrypt_certificates_present.{n}.domains: [required]: List of the domains

  • ubuntu_2004_letsencrypt_certificates_absent: [default: []]: List of the certificates to remove

  • ubuntu_2004_letsencrypt_certificates_absent.{n}.name: [optional, default: domains.0]: The name of the certificate, required when domains is empty, defaults to the first domain given in domains

  • ubuntu_2004_letsencrypt_certificates_absent.{n}.domains: [optional]: List of the domains

  • ubuntu_2004_letsencrypt_authenticator: [default: standalone]: Authenticator to use

  • ubuntu_2004_letsencrypt_http_01_port: [optional]: Port used in the http-01 challenge.

  • ubuntu_2004_letsencrypt_http_01_address: [optional]: The address the server listens to during http-01 challenge.

  • ubuntu_2004_letsencrypt_acme_challenge_forward_host: [optional]: Host to forward acme challenges to, when not found on the current host

  • ubuntu_2004_letsencrypt_webroot_path: [default: /var/lib/certbot/http_challenges]: The path to the public_html / webroot folder being served by your web server.

  • ubuntu_2004_letsencrypt_webroot_webserver: [optional] : Webserver to create configuration for, supported values apache and nginx

  • ubuntu_2004_letsencrypt_deploy_hook: [optional]: Command to be run in a shell once for each successfully issued certificate.