A simple role to deploy Dehydrated, a client for signing certificates with an ACME-server (e.g. Let's Encrypt).
None.
- letsencrypt_domains: Set the domain(s) and its optional aliases to be served by Let's Encrypt.
- (optional) letsencrypt_dehydrated_version: Set the version to be used for Dehydrated, defaults to 'v0.7.1'.
None.
Single domain:
- hosts: website
roles:
- { role: jkirk.letsencrypt, letsencrypt_domains: [ 'demo.example.com' ] }
Multiple domains:
- hosts: website
roles:
- { role: jkirk.letsencrypt, letsencrypt_domains: [ 'demo.example.com', 'demo2.example.com' ], letsencrypt_dehydrated_version: 'v0.6.2' }
To put domain aliases, put the alias next to the main domain:
- hosts: website
roles:
- { role: jkirk.letsencrypt, letsencrypt_domains: [ 'demo.example.com alias.example.com' ] }
MIT
Darshaka Pathirana - https://synpro.solutions