Configurable ansible role for obtaining SSL certificates using an apache webserver. Works with
- openSUSE Leap 15.4 -> tested
Note: Apache should be already installed!
You can set the following variables to configure the role. Here listed are the variables and their default settings.
Value | Description | Default |
---|---|---|
letsencrypt_domains |
domains to obtain certs for | "" |
letsencrypt_mail_address |
Who gets update notifications | "" |
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: jellyfish
roles:
- { role: geekoops-letsencrypt-apache, letsencrypt_domains: "www.example.org", letsencrypt_mail_address: "[email protected]" }
An advanced example for the imaginary jellyfish
test server. This will create a multi-domain certificate.
- hosts: jellyfish
roles:
- role: geekoops-letsencrypt-apache
vars:
letsencrypt_mail_address: "[email protected]"
letsencrypt_domains:
- "www.example.org"
- "smtp.example.org"
- "imap.example.org"
MIT
- It would be nice to switch between nginx and apache
- Check if the distinction between apache and nginx is still required.
- Test on 15.3