Installs and configures Certbot (for Let's Encrypt).
This role will:
- install certbot
- generate certificates
- install a systemd timer to automatically renew them
If installing from source, Git is required.
- Ubuntu 14.04
- Ubuntu 16.04
- Debian 8
- Debian 9
- Centos 7
For a complete variable reference, see the defaults/main.yml
file.
- hosts: servers
vars:
certbot_auto_renew_user: your_username_here
certbot_auto_renew_minute: "20"
certbot_auto_renew_hour: "5"
roles:
- nkakouros.certbot
See other examples in the molecule/default/ folder.
MIT / BSD
Nikolaos Kakouros (nkak@kth.se)
This role is a fork of https://github.com/geerlingguy/ansible-role-certbot.