blob: 91c8b54dd354afc310cb0638862447e58960c03b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
---
- name: render nginx-vhost custom config
set_fact:
etherpad_lite_nginx_vhost_custom: "{{ lookup('template', 'nginx-vhost.conf.j2') }}"
- name: configure nginx vhost
vars:
nginx_vhost:
name: "etherpad-lite-{{ item.key }}"
template: generic
tls:
certificate_provider: "{{ acme_client }}"
hostnames: "{{ item.value.hostnames }}"
custom: "{{ etherpad_lite_nginx_vhost_custom }}"
include_role:
name: nginx/vhost
|