Installs certbot on Debian, Ubuntu, RHEL, CentOS, and using pip if needed.
- EPEL
- python-pip
- setuptools
- pyopenssl
| Variable | Required | Default | Options | Comments |
|---|---|---|---|---|
certbot_pkg_mgr |
No | {{ ansible_pkg_mgr }} |
apt, yum, pip |
The package manager used to install certbot |
certbot_pip_version |
No | 0.27.1 |
Any Valid Version | The version of the certbot pip packages |
certbot_plugins |
No | omit |
apache, dns-cloudflare, digitalocean, dns-dnsimple, dns-rfc2136, dns-route53, nginx |
Specified as a list allows installation of certbot plugins |
- hosts: server
roles:
- role: certbot- hosts: server
roles:
- role: certbot
certbot_pkg_mgr: pip
certbot_plugins:
- dns-route53MIT