This role gets SSL/TLS certificate from let's encrypt and sets up a cron job to renew the certificate. This role uses cloudflare to verify domain ownership.
This role currently only supports ubuntu.
email: email to give to letsencrypt as your contact info domains: domain names to get certificate for (comma separated) CF_email: cloudflare email CF_key: CLOUDFLARE KEY
This role does not have any dependencies.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
---
- vars:
email: user@example.com
domains: hello.example.com
CF_email: user@example.com
CF_key: CLOUDFLARE KEY
hosts: localhost
roles:
- letsencrypt
MIT