remove the need for as/hs secret
This commit is contained in:
parent
f3eb3315a7
commit
73ca281aee
4 changed files with 4 additions and 7 deletions
|
@ -15,8 +15,6 @@ ansible_managed: str, msg indicating a file managed by ansible
|
||||||
matrix_server_name: the matrix server name
|
matrix_server_name: the matrix server name
|
||||||
matrix_bridge_facebook_postgre_user_pwd: **SECRET** pwd for connecting to the postgre db
|
matrix_bridge_facebook_postgre_user_pwd: **SECRET** pwd for connecting to the postgre db
|
||||||
matrix_bridge_facebook_integration_manager_shared_secret: **SECRET** pwd for mautrix-manager. TODO: remove it
|
matrix_bridge_facebook_integration_manager_shared_secret: **SECRET** pwd for mautrix-manager. TODO: remove it
|
||||||
matrix_bridge_facebook_as_token: **SECRET** token generated automatically by the bridge (should be handle better at some point...)
|
|
||||||
matrix_bridge_facebook_hs_token: **SECRET** token generated automatically by the bridge (should be handle better at some point...)
|
|
||||||
matrix_bridge_facebook_allowed_external_user: list of external users allow to use the bridge
|
matrix_bridge_facebook_allowed_external_user: list of external users allow to use the bridge
|
||||||
matrix_bridge_facebook_admins: list of admins
|
matrix_bridge_facebook_admins: list of admins
|
||||||
```
|
```
|
||||||
|
|
1
TODO.md
1
TODO.md
|
@ -5,5 +5,4 @@
|
||||||
- Add link to postgres role
|
- Add link to postgres role
|
||||||
- Move registration files to a registration folder
|
- Move registration files to a registration folder
|
||||||
- Use local bot avatar
|
- Use local bot avatar
|
||||||
- Better management of `matrix_bridge_facebook_as_token` and `matrix_bridge_facebook_hs_token`
|
|
||||||
- Why [animated-styckers] and not [all]?
|
- Why [animated-styckers] and not [all]?
|
||||||
|
|
|
@ -58,8 +58,8 @@
|
||||||
facebook_config: "{{ encoded_facebook_config.content | b64decode | from_yaml }}"
|
facebook_config: "{{ encoded_facebook_config.content | b64decode | from_yaml }}"
|
||||||
- name: extract tokens
|
- name: extract tokens
|
||||||
set_fact:
|
set_fact:
|
||||||
matrix_bridge_facebook_as_token: "{{ facebook_config.msg.appservice.as_token }}"
|
matrix_bridge_facebook_as_token: "{{ facebook_config.appservice.as_token }}"
|
||||||
matrix_bridge_facebook_hs_token: "{{ facebook_config.msg.appservice.as_token }}"
|
matrix_bridge_facebook_hs_token: "{{ facebook_config.appservice.as_token }}"
|
||||||
- name: print config
|
- name: print config
|
||||||
debug:
|
debug:
|
||||||
msg: "{{ matrix_bridge_facebook_as_token }}, {{ matrix_bridge_facebook_hs_token }}"
|
msg: "{{ matrix_bridge_facebook_as_token }}, {{ matrix_bridge_facebook_hs_token }}"
|
||||||
|
|
|
@ -76,8 +76,8 @@ appservice:
|
||||||
ephemeral_events: false
|
ephemeral_events: false
|
||||||
|
|
||||||
# Authentication tokens for AS <-> HS communication. Autogenerated; do not modify.
|
# Authentication tokens for AS <-> HS communication. Autogenerated; do not modify.
|
||||||
as_token: {{ matrix_bridge_facebook_as_token }}
|
as_token: "{{ matrix_bridge_facebook_as_token | default('This value is generated when generating the registration') }}"
|
||||||
hs_token: {{ matrix_bridge_facebook_hs_token }}
|
hs_token: "{{ matrix_bridge_facebook_hs_token | default('This value is generated when generating the registration') }}"
|
||||||
|
|
||||||
# Prometheus telemetry config. Requires prometheus-client to be installed.
|
# Prometheus telemetry config. Requires prometheus-client to be installed.
|
||||||
metrics:
|
metrics:
|
||||||
|
|
Loading…
Reference in a new issue