mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 04:34:00 +00:00
escape hookshot variables using to_json
This commit is contained in:
parent
54d8d0ec38
commit
99802bc143
@ -19,13 +19,13 @@ github:
|
|||||||
webhook:
|
webhook:
|
||||||
# Webhook settings for the GitHub app.
|
# Webhook settings for the GitHub app.
|
||||||
#
|
#
|
||||||
secret: {{ matrix_hookshot_github_secret }}
|
secret: {{ matrix_hookshot_github_secret|to_json }}
|
||||||
{% if matrix_hookshot_github_oauth_enabled %}
|
{% if matrix_hookshot_github_oauth_enabled %}
|
||||||
oauth:
|
oauth:
|
||||||
# (Optional) Settings for allowing users to sign in via OAuth.
|
# (Optional) Settings for allowing users to sign in via OAuth.
|
||||||
#
|
#
|
||||||
client_id: {{ matrix_hookshot_github_oauth_id }}
|
client_id: {{ matrix_hookshot_github_oauth_id }}
|
||||||
client_secret: {{ matrix_hookshot_github_oauth_secret }}
|
client_secret: {{ matrix_hookshot_github_oauth_secret|to_json }}
|
||||||
redirect_uri: {{ matrix_hookshot_github_oauth_uri }}
|
redirect_uri: {{ matrix_hookshot_github_oauth_uri }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
defaultOptions:
|
defaultOptions:
|
||||||
@ -45,18 +45,18 @@ gitlab:
|
|||||||
instances:
|
instances:
|
||||||
{{ matrix_hookshot_gitlab_instances }}
|
{{ matrix_hookshot_gitlab_instances }}
|
||||||
webhook:
|
webhook:
|
||||||
secret: {{ matrix_hookshot_gitlab_secret }}
|
secret: {{ matrix_hookshot_gitlab_secret|to_json }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if matrix_hookshot_jira_enabled %}
|
{% if matrix_hookshot_jira_enabled %}
|
||||||
jira:
|
jira:
|
||||||
# (Optional) Configure this to enable Jira support
|
# (Optional) Configure this to enable Jira support
|
||||||
#
|
#
|
||||||
webhook:
|
webhook:
|
||||||
secret: {{ matrix_hookshot_jira_secret }}
|
secret: {{ matrix_hookshot_jira_secret|to_json }}
|
||||||
{% if matrix_hookshot_jira_oauth_enabled %}
|
{% if matrix_hookshot_jira_oauth_enabled %}
|
||||||
oauth:
|
oauth:
|
||||||
client_id: {{ matrix_hookshot_jira_oauth_id }}
|
client_id: {{ matrix_hookshot_jira_oauth_id|to_json }}
|
||||||
client_secret: {{ matrix_hookshot_jira_oauth_secret }}
|
client_secret: {{ matrix_hookshot_jira_oauth_secret|to_json }}
|
||||||
redirect_uri: {{ matrix_hookshot_jira_oauth_uri }}
|
redirect_uri: {{ matrix_hookshot_jira_oauth_uri }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -67,7 +67,7 @@ generic:
|
|||||||
enabled: {{ matrix_hookshot_generic_enabled }}
|
enabled: {{ matrix_hookshot_generic_enabled }}
|
||||||
urlPrefix: {{ matrix_hookshot_generic_urlprefix }}
|
urlPrefix: {{ matrix_hookshot_generic_urlprefix }}
|
||||||
allowJsTransformationFunctions: {{ matrix_hookshot_generic_allow_js_transformation_functions }}
|
allowJsTransformationFunctions: {{ matrix_hookshot_generic_allow_js_transformation_functions }}
|
||||||
userIdPrefix: {{ matrix_hookshot_generic_user_id_prefix }}
|
userIdPrefix: {{ matrix_hookshot_generic_user_id_prefix|to_json }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if matrix_hookshot_figma_enabled %}
|
{% if matrix_hookshot_figma_enabled %}
|
||||||
figma:
|
figma:
|
||||||
@ -80,7 +80,7 @@ figma:
|
|||||||
provisioning:
|
provisioning:
|
||||||
# (Optional) Provisioning API for integration managers
|
# (Optional) Provisioning API for integration managers
|
||||||
#
|
#
|
||||||
secret: {{ matrix_hookshot_provisioning_secret }}
|
secret: {{ matrix_hookshot_provisioning_secret|to_json }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
passFile:
|
passFile:
|
||||||
# A passkey used to encrypt tokens stored inside the bridge.
|
# A passkey used to encrypt tokens stored inside the bridge.
|
||||||
@ -90,7 +90,7 @@ passFile:
|
|||||||
bot:
|
bot:
|
||||||
# (Optional) Define profile information for the bot user
|
# (Optional) Define profile information for the bot user
|
||||||
#
|
#
|
||||||
displayname: {{ matrix_hookshot_bot_displayname }}
|
displayname: {{ matrix_hookshot_bot_displayname|to_json }}
|
||||||
avatar: {{ matrix_hookshot_bot_avatar }}
|
avatar: {{ matrix_hookshot_bot_avatar }}
|
||||||
metrics:
|
metrics:
|
||||||
# (Optional) Prometheus metrics support
|
# (Optional) Prometheus metrics support
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#jinja2: lstrip_blocks: "True"
|
#jinja2: lstrip_blocks: "True"
|
||||||
id: matrix-hookshot # This can be anything, but must be unique within your homeserver
|
id: matrix-hookshot # This can be anything, but must be unique within your homeserver
|
||||||
as_token: {{ matrix_hookshot_appservice_token }} # This again can be a random string
|
as_token: {{ matrix_hookshot_appservice_token|to_json }} # This again can be a random string
|
||||||
hs_token: {{ matrix_hookshot_homeserver_token }} # ..as can this
|
hs_token: {{ matrix_hookshot_homeserver_token|to_json }} # ..as can this
|
||||||
namespaces:
|
namespaces:
|
||||||
rooms: []
|
rooms: []
|
||||||
users:
|
users:
|
||||||
|
Loading…
Reference in New Issue
Block a user