Remove hard coded references to homeserver and matrix domain

This commit is contained in:
Yannick Goossens 2021-03-12 15:36:13 +01:00
parent 9689948e73
commit a640d8f9a6

View File

@ -46,19 +46,19 @@ matrix_bot_go_neb_storage_database: "{{
# https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/configuring-playbook-dimension.md#access-token # https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/configuring-playbook-dimension.md#access-token
# via curl. With the element method, you might run into decryption problems (see https://github.com/matrix-org/go-neb#quick-start) # via curl. With the element method, you might run into decryption problems (see https://github.com/matrix-org/go-neb#quick-start)
matrix_bot_go_neb_clients: {} matrix_bot_go_neb_clients: {}
# - UserID: "@goneb:localhost" # - UserID: "@goneb:{{ matrix_domain }}"
# AccessToken: "MDASDASJDIASDJASDAFGFRGER" # AccessToken: "MDASDASJDIASDJASDAFGFRGER"
# DeviceID: "DEVICE1" # DeviceID: "DEVICE1"
# HomeserverURL: "http://localhost:8008" # HomeserverURL: "{{ matrix_homeserver_container_url }}"
# Sync: true # Sync: true
# AutoJoinRooms: true # AutoJoinRooms: true
# DisplayName: "Go-NEB!" # DisplayName: "Go-NEB!"
# AcceptVerificationFromUsers: [":{{ matrix_domain }}"] # AcceptVerificationFromUsers: [":{{ matrix_domain }}"]
# #
# - UserID: "@another_goneb:localhost" # - UserID: "@another_goneb:{{ matrix_domain }}"
# AccessToken: "MDASDASJDIASDJASDAFGFRGER" # AccessToken: "MDASDASJDIASDJASDAFGFRGER"
# DeviceID: "DEVICE2" # DeviceID: "DEVICE2"
# HomeserverURL: "http://localhost:8008" # HomeserverURL: "{{ matrix_homeserver_container_url }}"
# Sync: false # Sync: false
# AutoJoinRooms: false # AutoJoinRooms: false
# DisplayName: "Go-NEB!" # DisplayName: "Go-NEB!"
@ -81,7 +81,7 @@ matrix_bot_go_neb_realms: {}
matrix_bot_go_neb_sessions: {} matrix_bot_go_neb_sessions: {}
# - SessionID: "your_github_session" # - SessionID: "your_github_session"
# RealmID: "github_realm" # RealmID: "github_realm"
# UserID: "@YOUR_USER_ID:localhost" # This needs to be the username of the person that's allowed to use the !github commands # UserID: "@YOUR_USER_ID:{{ matrix_domain }}" # This needs to be the username of the person that's allowed to use the !github commands
# Config: # Config:
# # Populate these fields by generating a "Personal Access Token" on github.com # # Populate these fields by generating a "Personal Access Token" on github.com
# AccessToken: "YOUR_GITHUB_ACCESS_TOKEN" # AccessToken: "YOUR_GITHUB_ACCESS_TOKEN"
@ -94,13 +94,13 @@ matrix_bot_go_neb_sessions: {}
matrix_bot_go_neb_services: {} matrix_bot_go_neb_services: {}
# - ID: "echo_service" # - ID: "echo_service"
# Type: "echo" # Type: "echo"
# UserID: "@goneb:localhost" # UserID: "@goneb:{{ matrix_domain }}"
# Config: {} # Config: {}
## Can be obtained from https://developers.giphy.com/dashboard/ ## Can be obtained from https://developers.giphy.com/dashboard/
# - ID: "giphy_service" # - ID: "giphy_service"
# Type: "giphy" # Type: "giphy"
# UserID: "@goneb:localhost" # requires a Syncing client # UserID: "@goneb:{{ matrix_domain }}" # requires a Syncing client
# Config: # Config:
# api_key: "qwg4672vsuyfsfe" # api_key: "qwg4672vsuyfsfe"
# use_downsized: false # use_downsized: false
@ -108,7 +108,7 @@ matrix_bot_go_neb_services: {}
## This service has been dead for over a year :/ ## This service has been dead for over a year :/
# - ID: "guggy_service" # - ID: "guggy_service"
# Type: "guggy" # Type: "guggy"
# UserID: "@goneb:localhost" # requires a Syncing client # UserID: "@goneb:{{ matrix_domain }}" # requires a Syncing client
# Config: # Config:
# api_key: "2356saaqfhgfe" # api_key: "2356saaqfhgfe"
# #
@ -118,7 +118,7 @@ matrix_bot_go_neb_services: {}
## 'Search the entire web' and 'Image search' enabled for best results ## 'Search the entire web' and 'Image search' enabled for best results
# - ID: "google_service" # - ID: "google_service"
# Type: "google" # Type: "google"
# UserID: "@goneb:localhost" # requires a Syncing client # UserID: "@goneb:{{ matrix_domain }}" # requires a Syncing client
# Config: # Config:
# api_key: "AIzaSyA4FD39m9" # api_key: "AIzaSyA4FD39m9"
# cx: "AIASDFWSRRtrtr" # cx: "AIASDFWSRRtrtr"
@ -127,18 +127,18 @@ matrix_bot_go_neb_services: {}
## Select "oauth2 without callback url" and use the clientid as api_key value ## Select "oauth2 without callback url" and use the clientid as api_key value
# - ID: "imgur_service" # - ID: "imgur_service"
# Type: "imgur" # Type: "imgur"
# UserID: "@imgur:localhost" # requires a Syncing client # UserID: "@imgur:{{ matrix_domain }}" # requires a Syncing client
# Config: # Config:
# api_key: "AIzaSyA4FD39m9" # api_key: "AIzaSyA4FD39m9"
# #
# - ID: "wikipedia_service" # - ID: "wikipedia_service"
# Type: "wikipedia" # Type: "wikipedia"
# UserID: "@goneb:localhost" # requires a Syncing client # UserID: "@goneb:{{ matrix_domain }}" # requires a Syncing client
# Config: # Config:
# #
# - ID: "rss_service" # - ID: "rss_service"
# Type: "rssbot" # Type: "rssbot"
# UserID: "@another_goneb:localhost" # UserID: "@another_goneb:{{ matrix_domain }}"
# Config: # Config:
# feeds: # feeds:
# "http://lorem-rss.herokuapp.com/feed?unit=second&interval=60": # "http://lorem-rss.herokuapp.com/feed?unit=second&interval=60":
@ -156,17 +156,17 @@ matrix_bot_go_neb_services: {}
# #
# - ID: "github_cmd_service" # - ID: "github_cmd_service"
# Type: "github" # Type: "github"
# UserID: "@goneb:localhost" # requires a Syncing client # UserID: "@goneb:{{ matrix_domain }}" # requires a Syncing client
# Config: # Config:
# RealmID: "github_realm" # RealmID: "github_realm"
# #
# # Make sure your BASE_URL can be accessed by Github! # # Make sure your BASE_URL can be accessed by Github!
# - ID: "github_webhook_service" # - ID: "github_webhook_service"
# Type: "github-webhook" # Type: "github-webhook"
# UserID: "@another_goneb:localhost" # UserID: "@another_goneb:{{ matrix_domain }}"
# Config: # Config:
# RealmID: "github_realm" # RealmID: "github_realm"
# ClientUserID: "@YOUR_USER_ID:localhost" # needs to be an authenticated user so Go-NEB can create webhooks. Check the UserID field in the github_realm in matrix_bot_go_neb_sessions. # ClientUserID: "@YOUR_USER_ID:{{ matrix_domain }}" # needs to be an authenticated user so Go-NEB can create webhooks. Check the UserID field in the github_realm in matrix_bot_go_neb_sessions.
# Rooms: # Rooms:
# "!someroom:id": # "!someroom:id":
# Repos: # Repos:
@ -183,7 +183,7 @@ matrix_bot_go_neb_services: {}
# #
# - ID: "slackapi_service" # - ID: "slackapi_service"
# Type: "slackapi" # Type: "slackapi"
# UserID: "@slackapi:localhost" # UserID: "@slackapi:{{ matrix_domain }}"
# Config: # Config:
# Hooks: # Hooks:
# "hook1": # "hook1":
@ -192,7 +192,7 @@ matrix_bot_go_neb_services: {}
# #
# - ID: "alertmanager_service" # - ID: "alertmanager_service"
# Type: "alertmanager" # Type: "alertmanager"
# UserID: "@alertmanager:localhost" # UserID: "@alertmanager:{{ matrix_domain }}"
# Config: # Config:
# # This is for information purposes only. It should point to Go-NEB path as follows: # # This is for information purposes only. It should point to Go-NEB path as follows:
# # `/services/hooks/<base64 encoded service ID>` # # `/services/hooks/<base64 encoded service ID>`