mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-25 11:35:03 +01:00
changed task structure
This commit is contained in:
parent
9ef20b4bf8
commit
f717facf41
@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: "include tasks mybb-proxy-domain.yml"
|
||||
include_tasks: mybb-proxy-domain.yml
|
||||
loop: "{{ domains + [mybb_main_domain] }}"
|
||||
- name: "include tasks create-proxy-with-domain-replace.yml"
|
||||
include_tasks: create-proxy-with-domain-replace.yml
|
||||
loop: "{{ domains + [source_domain] }}"
|
||||
loop_control:
|
||||
loop_var: domain
|
||||
|
||||
|
@ -3,4 +3,4 @@ docker_compose_instance_directory: "{{path_docker_compose_instances}}mybb/"
|
||||
docker_compose_instance_confd_directory: "{{docker_compose_instance_directory}}conf.d/"
|
||||
docker_compose_instance_confd_defaultconf_file: "{{docker_compose_instance_confd_directory}}default.conf"
|
||||
target_mount_conf_d_directory: "/etc/nginx/conf.d/"
|
||||
mybb_main_domain: "mybb.{{top_domain}}"
|
||||
source_domain: "mybb.{{top_domain}}"
|
||||
|
@ -4,4 +4,4 @@
|
||||
- name: "include task create-domain-conf.yml"
|
||||
include_tasks: create-domain-conf.yml
|
||||
vars:
|
||||
nginx_docker_reverse_proxy_extra_configuration: "sub_filter '{{mybb_main_domain}}' '{{domain}}';"
|
||||
nginx_docker_reverse_proxy_extra_configuration: "sub_filter '{{source_domain}}' '{{domain}}';"
|
Loading…
Reference in New Issue
Block a user