No description
|
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
|
||
|---|---|---|
| files | ||
| handlers | ||
| meta | ||
| tasks | ||
| .ansible-lint | ||
| .gitignore | ||
| .woodpecker.yml | ||
| LICENSE | ||
| README.md | ||
Ansible role: fosdem-video.nginx-prep
Ansible role for nginx certificate and key preparation for FOSDEM video infrastructure. This role prepares TLS certificates and keys for nginx configuration.
Role Variables
Available variables are listed below, along with default values
(see defaults/main.yml):
Required Variables
This role requires the following variables to be defined:
web_certificate: <path to certificate file or certificate content>
PEM-formatted certificate for TLS/SSL.
web_key: <path to key file or key content>
PEM-formatted private key for TLS/SSL.
Notes
Adding the configuration in /etc/nginx/sites-enabled and reloading nginx is
left to the caller. There is no built-in way to template all the possible ways
nginx configuration can be generated.
Dependencies
None.
Example Playbook
- hosts: servers
remote_user: root
vars:
web_certificate: "{{ lookup('file', '/path/to/certificate.crt') }}"
web_key: "{{ lookup('file', '/path/to/certificate.key') }}"
roles:
- { role: fosdem-video.nginx-prep }
License
MIT