Modular Ansible Role for deploying and configuring Let's Encrypt
This Ansible role supports the two latest stable releases of specific server-focused Linux distributions and aims to follow their deprecation policies. Additionally we will focus on supporting the latest two stable releases of each, which at the time of writing are as follows:
- CentOS 7.x
- Debian 10 or later
- Ubuntu 20.04 LTS or later
- AlmaLinux 8.x or later
- RockyLinux 8.x or later
community.crypto
Available variables are listed below with their default values (you can also see defaults/main.yml
)
Variable | Description |
---|---|
certbot_package | The Let's Encrypt certbot package. |
certbot_packages | Tools needed to verify if the usage of Let's Encrypt is valid. |
certbot_create_command | The command ran to generate a certificate. |
use_letsencrypt | Determines if Let's Encrypt should be installed/used. |
certbot_test_cert | Use Letsencrypt Staging Environment |
certbot_without_email | Register Letsencrypt account without an email |
- hosts: www
roles:
- role: inmotionhosting.letsencrypt
GPLv3