mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-17 01:16:44 +02:00
14 lines
555 B
YAML
14 lines
555 B
YAML
- name: "include role receive certbot certificate"
|
|
include_role:
|
|
name: srv-web-6-6-tls-core
|
|
vars:
|
|
domain: "{{ domains | get_domain(application_id) }}"
|
|
|
|
- name: configure {{ domains | get_domain(application_id) }}.conf
|
|
template:
|
|
src: "roles/srv-proxy-7-4-core/templates/vhost/basic.conf.j2"
|
|
dest: "{{ NGINX.DIRECTORIES.HTTP.SERVERS }}{{ domains | get_domain(application_id) }}.conf"
|
|
notify: restart openresty
|
|
vars:
|
|
proxy_extra_configuration: "sub_filter '{{source_domain}}' '{{ domains | get_domain(application_id) }}';"
|