Преглед изворни кода

Added |to_json to the config.yaml template

pull/929/head
Yannick Goossens пре 5 година
родитељ
комит
49028f1b05
1 измењених фајлова са 4 додато и 4 уклоњено
  1. +4
    -4
      roles/matrix-bot-go-neb/templates/config.yaml.j2

+ 4
- 4
roles/matrix-bot-go-neb/templates/config.yaml.j2 Прегледај датотеку

@@ -19,14 +19,14 @@
# See the docs for /configureClient for the full list of options: # See the docs for /configureClient for the full list of options:
# https://matrix-org.github.io/go-neb/pkg/github.com/matrix-org/go-neb/api/index.html#ClientConfig # https://matrix-org.github.io/go-neb/pkg/github.com/matrix-org/go-neb/api/index.html#ClientConfig
clients: clients:
{{ matrix_bot_go_neb_clients }}
{{ matrix_bot_go_neb_clients|to_json }}


# The list of realms which Go-NEB is aware of. # The list of realms which Go-NEB is aware of.
# Delete or modify this list as appropriate. # Delete or modify this list as appropriate.
# See the docs for /configureAuthRealm for the full list of options: # See the docs for /configureAuthRealm for the full list of options:
# https://matrix-org.github.io/go-neb/pkg/github.com/matrix-org/go-neb/api/index.html#ConfigureAuthRealmRequest # https://matrix-org.github.io/go-neb/pkg/github.com/matrix-org/go-neb/api/index.html#ConfigureAuthRealmRequest
realms: realms:
{{ matrix_bot_go_neb_realms }}
{{ matrix_bot_go_neb_realms|to_json }}


# The list of *authenticated* sessions which Go-NEB is aware of. # The list of *authenticated* sessions which Go-NEB is aware of.
# Delete or modify this list as appropriate. # Delete or modify this list as appropriate.
@@ -34,11 +34,11 @@ realms:
# which maps to this section. # which maps to this section.
# https://matrix-org.github.io/go-neb/pkg/github.com/matrix-org/go-neb/api/index.html#Session # https://matrix-org.github.io/go-neb/pkg/github.com/matrix-org/go-neb/api/index.html#Session
sessions: sessions:
{{ matrix_bot_go_neb_sessions }}
{{ matrix_bot_go_neb_sessions|to_json }}


# The list of services which Go-NEB is aware of. # The list of services which Go-NEB is aware of.
# Delete or modify this list as appropriate. # Delete or modify this list as appropriate.
# See the docs for /configureService for the full list of options: # See the docs for /configureService for the full list of options:
# https://matrix-org.github.io/go-neb/pkg/github.com/matrix-org/go-neb/api/index.html#ConfigureServiceRequest # https://matrix-org.github.io/go-neb/pkg/github.com/matrix-org/go-neb/api/index.html#ConfigureServiceRequest
services: services:
{{ matrix_bot_go_neb_services }}
{{ matrix_bot_go_neb_services|to_json }}

Loading…
Откажи
Сачувај