Ansible role to generate letsencrypt certificates.
domain
: List of domains name for this certificate.email
: Email address for letsencrypt notifications.webserver
: Webserver service to stop when generating certificates for the first time.certbot_port
: Listening port for certbot during certificates renewal (default to32456
).
- hosts: localhost
vars:
webserver: haproxy
email: [email protected]
domains:
- ansible.example.com
roles:
- pyslackers.letsencrypt
MIT