commit 6e37aed5f31616e52197b6078fd85176ff0ed21d
parent d8a166cf48bae53c8f2369f2f0cd9a0a17e63b75
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 4 Mar 2021 00:30:29 +0100
parent d8a166cf48bae53c8f2369f2f0cd9a0a17e63b75
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 4 Mar 2021 00:30:29 +0100
roles/synapse: fix stupidness
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/roles/synapse/tasks/configure.yml b/roles/synapse/tasks/configure.yml @@ -85,10 +85,9 @@ become: yes become_user: postgres community.postgresql.postgresql_privs: - db: postgres + db: synapse privs: ALL type: database - obj: library - role: librarian + role: synapse when: services.synapse.setupPostgreSQL is true
diff --git a/roles/synapse/templates/nginx-vhost.conf.j2 b/roles/synapse/templates/nginx-vhost.conf.j2 @@ -36,6 +36,10 @@ server { client_max_body_size 100M; } {% endif %} + + {% if services.synapse.nginx.extraConfig is defined %} + {{ services.synapse.nginx.extraConfig }} + {% endif %} } {% endif %} @@ -73,5 +77,9 @@ server { client_max_body_size 100M; } {% endif %} + + {% if services.synapse.nginx.extraConfig is defined %} + {{ services.synapse.nginx.extraConfig }} + {% endif %} } {% endif %}