From bcbe0a8285bd9710387cacca2c588147b707dd51 Mon Sep 17 00:00:00 2001 From: reynir Date: Wed, 16 Nov 2022 19:13:45 +0000 Subject: [PATCH] Set up vhost for both {riot,element}.data.coop (#121) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A fix for #115. Co-authored-by: Reynir Björnsson Reviewed-on: https://git.data.coop/data.coop/ansible/pulls/121 Co-authored-by: reynir Co-committed-by: reynir --- roles/docker/tasks/services/matrix_riot.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/docker/tasks/services/matrix_riot.yml b/roles/docker/tasks/services/matrix_riot.yml index 3b1f23f..3b515e5 100644 --- a/roles/docker/tasks/services/matrix_riot.yml +++ b/roles/docker/tasks/services/matrix_riot.yml @@ -49,7 +49,8 @@ - name: upload vhost config for riot domain template: src: files/configs/matrix/vhost-riot - dest: "{{ nginx.volume_folder }}/vhost/{{ riot.domains[0] }}" + dest: "{{ nginx.volume_folder }}/vhost/{{ item }}" + loop: "{{ riot.domains }}" - name: upload homeserver.yaml template: