Changement matrix debian -> NixOS
parent
9580650207
commit
e78010783b
|
@ -61,7 +61,6 @@ glob_reverseproxy:
|
|||
- {from: intranet.crans.org, to: 172.16.10.156}
|
||||
- {from: linx.crans.org, to: "172.16.10.119:8080"}
|
||||
- {from: lists.crans.org, to: 172.16.10.110}
|
||||
- {from: matrix.crans.org, to: "172.16.10.141:8008"}
|
||||
- {from: mirrors.crans.org, to: 172.16.10.104}
|
||||
- {from: nextcloud.crans.org, to: 172.16.10.137}
|
||||
- {from: onlyoffice.crans.org, to: 172.16.10.148}
|
||||
|
@ -83,8 +82,6 @@ glob_reverseproxy:
|
|||
- {from: perso.crans.org, to: 172.16.10.31}
|
||||
|
||||
redirect_sites:
|
||||
- {from: crans.org, to: www.crans.org}
|
||||
|
||||
# Aliases or legacy support
|
||||
- {from: adopteunpingouin.crans.org, to: install-party.crans.org}
|
||||
- {from: clubs.crans.org, to: perso.crans.org}
|
||||
|
@ -103,4 +100,5 @@ glob_reverseproxy:
|
|||
static_sites:
|
||||
- autoconfig.crans.org
|
||||
- install-party.crans.org
|
||||
- crans.org
|
||||
- www.crans.org
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
- name: Restart matrix-synapse
|
||||
service:
|
||||
name: matrix-synapse
|
||||
state: restarted
|
|
@ -1,29 +0,0 @@
|
|||
---
|
||||
- name: Configure Debian backports repository
|
||||
template:
|
||||
src: apt/sources.list.d/backports.list.j2
|
||||
dest: /etc/apt/sources.list.d/backports.list
|
||||
|
||||
- name: Install matrix-synapse
|
||||
apt:
|
||||
update_cache: true
|
||||
default_release: "{{ ansible_lsb.codename }}-backports"
|
||||
name: matrix-synapse
|
||||
register: apt_result
|
||||
retries: 3
|
||||
until: apt_result is succeeded
|
||||
|
||||
- name: Configure matrix-synapse
|
||||
template:
|
||||
src: matrix-synapse/conf.d/{{ item }}.j2
|
||||
dest: /etc/matrix-synapse/conf.d/{{ item }}
|
||||
mode: 0640
|
||||
owner: matrix-synapse
|
||||
group: nogroup
|
||||
loop:
|
||||
- app_service_config_files.yaml
|
||||
- database.yaml
|
||||
- listeners.yaml
|
||||
- report_stats.yaml
|
||||
- server_name.yaml
|
||||
notify: Restart matrix-synapse
|
|
@ -1 +0,0 @@
|
|||
deb {{ debian_mirror }} {{ ansible_lsb.codename }}-backports main contrib non-free
|
|
@ -1 +0,0 @@
|
|||
app_service_config_files: ["/var/local/matrix-appservice-irc/registration.yaml"]
|
|
@ -1,9 +0,0 @@
|
|||
database:
|
||||
name: "psycopg2"
|
||||
args:
|
||||
user: "{{ matrix_synapse.database.user }}"
|
||||
password: "{{ matrix_synapse.database.password }}"
|
||||
database: "{{ matrix_synapse.database.name }}"
|
||||
host: "{{ matrix_synapse.database.host }}"
|
||||
cp_min: 5
|
||||
cp_max: 10
|
|
@ -1,14 +0,0 @@
|
|||
listeners:
|
||||
- port: 8008
|
||||
tls: false
|
||||
bind_addresses:
|
||||
- '::'
|
||||
- '0.0.0.0'
|
||||
type: http
|
||||
x_forwarded: true
|
||||
resources:
|
||||
- names: [client]
|
||||
compress: true
|
||||
- names: [federation]
|
||||
compress: false
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
report_stats: false
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
server_name: crans.org
|
||||
|
Loading…
Reference in New Issue