diff --git a/roles/matrix-cactus-comments/templates/cactus_appservice.yaml.j2 b/roles/matrix-cactus-comments/templates/cactus_appservice.yaml.j2 index c37fd2fec..c0599fbab 100644 --- a/roles/matrix-cactus-comments/templates/cactus_appservice.yaml.j2 +++ b/roles/matrix-cactus-comments/templates/cactus_appservice.yaml.j2 @@ -7,8 +7,8 @@ url: "http://matrix-cactus-comments:{{ matrix_cactus_comments_container_port }}" # Unique tokens used to authenticate requests between our service and the # homeserver (and the other way). Use the sha256 hashes of something random. # CHANGE THESE VALUES. -as_token: "{{ matrix_cactus_comments_as_token }}" -hs_token: "{{ matrix_cactus_comments_hs_token }}" +as_token: {{ matrix_cactus_comments_as_token | to_json }} +hs_token: {{ matrix_cactus_comments_hs_token | to_json }} # User associated with our service. In this case "@cactusbot:example.com" sender_localpart: "{{ matrix_cactus_comments_user_id }}"