matrix: add initial conduit-only config
This commit is contained in:
parent
b5e9afe5a4
commit
ef8f5da37d
11 changed files with 182 additions and 0 deletions
3
roles/matrix-web/meta/main.yml
Normal file
3
roles/matrix-web/meta/main.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
dependencies:
|
||||
- role: caddy
|
||||
9
roles/matrix-web/tasks/main.yml
Normal file
9
roles/matrix-web/tasks/main.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
- name: Ensure Caddyfile is present
|
||||
template:
|
||||
src: 'matrix.Caddyfile.j2'
|
||||
dest: '/etc/caddy/matrix.Caddyfile'
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
notify: caddy-reload
|
||||
3
roles/matrix-web/templates/matrix.Caddyfile.j2
Normal file
3
roles/matrix-web/templates/matrix.Caddyfile.j2
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
matrix.rustybever.be {
|
||||
reverse_proxy {{ hostvars[groups['matrix'][0]].static_ip }}:8004
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue