mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
implemented multiple domain string substitution for mybb
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
||||
include_tasks: nginx-docker-proxy-domain.yml
|
||||
loop: "{{ domains }}"
|
||||
- name: "include tasks mybb-proxy-domain.yml"
|
||||
include_tasks: mybb-proxy-domain.yml
|
||||
loop: "{{ domains + [mybb_main_domain] }}"
|
||||
loop_control:
|
||||
loop_var: domain
|
||||
|
||||
|
7
roles/docker-mybb/tasks/mybb-proxy-domain.yml
Normal file
7
roles/docker-mybb/tasks/mybb-proxy-domain.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- name: "include task certbot-matomo.yml"
|
||||
include_tasks: certbot-matomo.yml
|
||||
|
||||
- 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}}';"
|
Reference in New Issue
Block a user