mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-18 14:34:24 +02:00
14 lines
541 B
YAML
14 lines
541 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 nginx
|
|
vars:
|
|
proxy_extra_configuration: "sub_filter '{{source_domain}}' '{{domains | get_domain(application_id)}}';"
|