mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Huge role refactoring/cleanup. Other commits will propably follow. Because some bugs will exist. Still important for longrun and also for auto docs/help/slideshow generation
This commit is contained in:
13
roles/web-app-mybb/tasks/setup-domain.yml
Normal file
13
roles/web-app-mybb/tasks/setup-domain.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
- name: "include role receive certbot certificate"
|
||||
include_role:
|
||||
name: webserver-tls-core
|
||||
vars:
|
||||
domain: "{{domains | get_domain(application_id)}}"
|
||||
|
||||
- name: configure {{domains | get_domain(application_id)}}.conf
|
||||
template:
|
||||
src: "roles/webserver-proxy-core/templates/vhost/basic.conf.j2"
|
||||
dest: "{{nginx.directories.http.servers}}{{domains | get_domain(application_id)}}.conf"
|
||||
notify: restart nginx
|
||||
vars:
|
||||
nginx_docker_reverse_proxy_extra_configuration: "sub_filter '{{source_domain}}' '{{domains | get_domain(application_id)}}';"
|
Reference in New Issue
Block a user