This Ansible role will create a self-signed SSL certificate.
The following variables are used by this role. The default settings (found in defaults/main.yml
) are as follows:
---
dev_ssl_base_dir: /etc/dev-ssl
dev_ssl_domains: [ '{{ ansible_fqdn }}' ]
dev_ssl_base_domain: '{{ dev_ssl_domains[0] }}'
dev_ssl_email: 'dev@example.com'
An example playbook of how to use the role.
---
- hosts: all
roles:
- siftware.dev-ssl-self-signed
This work is licensed under CC BY-SA 4.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-sa/4.0
Written by Iain Cuthbertson of Siftware Ltd