Move Jinja2 template files into templates directory #137
|
@ -27,28 +27,28 @@
|
||||||
loop_var: volume
|
loop_var: volume
|
||||||
|
|
||||||
- name: upload riot config.json
|
- name: upload riot config.json
|
||||||
template:
|
copy:
|
||||||
src: files/configs/riot/config.json
|
src: configs/riot/config.json
|
||||||
dest: "{{ services.riot.volume_folder }}/data/config.json"
|
dest: "{{ services.riot.volume_folder }}/data/config.json"
|
||||||
|
|
||||||
- name: upload riot.im.conf
|
- name: upload riot.im.conf
|
||||||
template:
|
copy:
|
||||||
src: files/configs/riot/riot.im.conf
|
src: configs/riot/riot.im.conf
|
||||||
dest: "{{ services.riot.volume_folder }}/data/riot.im.conf"
|
dest: "{{ services.riot.volume_folder }}/data/riot.im.conf"
|
||||||
|
|
||||||
- name: upload vhost config for root domain
|
- name: upload vhost config for root domain
|
||||||
template:
|
copy:
|
||||||
src: files/configs/matrix/vhost-root
|
src: configs/matrix/vhost-root
|
||||||
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ base_domain }}"
|
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ base_domain }}"
|
||||||
|
|
||||||
- name: upload vhost config for matrix domain
|
- name: upload vhost config for matrix domain
|
||||||
template:
|
copy:
|
||||||
src: files/configs/matrix/vhost-matrix
|
src: configs/matrix/vhost-matrix
|
||||||
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.matrix.domain }}"
|
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.matrix.domain }}"
|
||||||
|
|
||||||
- name: upload vhost config for riot domain
|
- name: upload vhost config for riot domains
|
||||||
template:
|
copy:
|
||||||
src: files/configs/matrix/vhost-riot
|
src: configs/matrix/vhost-riot
|
||||||
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ item }}"
|
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ item }}"
|
||||||
loop: "{{ services.riot.domains }}"
|
loop: "{{ services.riot.domains }}"
|
||||||
|
|
||||||
|
@ -58,8 +58,8 @@
|
||||||
dest: "{{ services.matrix.volume_folder }}/data/homeserver.yaml"
|
dest: "{{ services.matrix.volume_folder }}/data/homeserver.yaml"
|
||||||
|
|
||||||
- name: upload matrix logging config
|
- name: upload matrix logging config
|
||||||
template:
|
copy:
|
||||||
src: "files/configs/matrix/matrix.data.coop.log.config"
|
src: "configs/matrix/matrix.data.coop.log.config"
|
||||||
dest: "{{ services.matrix.volume_folder }}/data/matrix.data.coop.log.config"
|
dest: "{{ services.matrix.volume_folder }}/data/matrix.data.coop.log.config"
|
||||||
|
|
||||||
- name: set up matrix and riot
|
- name: set up matrix and riot
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
loop_var: volume
|
loop_var: volume
|
||||||
|
|
||||||
- name: upload privatebin config
|
- name: upload privatebin config
|
||||||
template:
|
copy:
|
||||||
src: files/configs/privatebin-conf.php
|
src: configs/privatebin-conf.php
|
||||||
dest: "{{ services.privatebin.volume_folder }}/cfg/conf.php"
|
dest: "{{ services.privatebin.volume_folder }}/cfg/conf.php"
|
||||||
|
|
||||||
- name: privatebin app container
|
- name: privatebin app container
|
||||||
|
|
Loading…
Reference in a new issue