From 30738d064e740e2a99da8de618c3ba3a539756f8 Mon Sep 17 00:00:00 2001
From: Edgars Voroboks <edgars.voroboks@gmail.com>
Date: Fri, 8 Mar 2019 19:14:15 +0200
Subject: [PATCH] Fix errors

---
 group_vars/matrix-servers                       | 2 +-
 roles/matrix-dimension/templates/config.yaml.j2 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/group_vars/matrix-servers b/group_vars/matrix-servers
index df631969c..9f06d8fef 100755
--- a/group_vars/matrix-servers
+++ b/group_vars/matrix-servers
@@ -110,7 +110,7 @@ matrix_dimension_enabled: false
 # Normally, matrix-nginx-proxy is enabled and nginx can reach Dimension over the container network.
 # If matrix-nginx-proxy is not enabled, or you otherwise have a need for it, you can expose
 # the Dimension HTTP port to the local host (`127.0.0.1:8184`).
-matrix_dimension_container_expose_port: {{ not matrix_nginx_proxy_enabled }}
+matrix_dimension_container_expose_port: "{{ not matrix_nginx_proxy_enabled }}"
 
 ######################################################################
 #
diff --git a/roles/matrix-dimension/templates/config.yaml.j2 b/roles/matrix-dimension/templates/config.yaml.j2
index 4eb2ae933..c624c4a93 100755
--- a/roles/matrix-dimension/templates/config.yaml.j2
+++ b/roles/matrix-dimension/templates/config.yaml.j2
@@ -31,7 +31,7 @@ homeserver:
 
 # These users can modify the integrations this Dimension supports.
 # To access the admin interface, open Dimension in Riot and click the settings icon.
-admins: {{ matrix_dimension_admin }}
+admins: {{ matrix_dimension_admins }}
 
 # IPs and CIDR ranges listed here will be blocked from being widgets.
 # Note: Widgets may still be embedded with restricted content, although not through Dimension directly.