|
|
@ -56,9 +56,13 @@
|
|
|
|
- name: decode config file
|
|
|
|
- name: decode config file
|
|
|
|
set_fact:
|
|
|
|
set_fact:
|
|
|
|
facebook_config: "{{ encoded_facebook_config.content | b64decode | from_yaml }}"
|
|
|
|
facebook_config: "{{ encoded_facebook_config.content | b64decode | from_yaml }}"
|
|
|
|
|
|
|
|
- name: extract tokens
|
|
|
|
|
|
|
|
set_fact:
|
|
|
|
|
|
|
|
matrix_bridge_facebook_as_token: "{{ facebook_config.msg.appservice.as_token }}"
|
|
|
|
|
|
|
|
matrix_bridge_facebook_hs_token: "{{ facebook_config.msg.appservice.as_token }}"
|
|
|
|
- name: print config
|
|
|
|
- name: print config
|
|
|
|
debug:
|
|
|
|
debug:
|
|
|
|
msg: "{{ facebook_config }}"
|
|
|
|
msg: "{{ matrix_bridge_facebook_as_token }}, {{ matrix_bridge_facebook_hs_token }}"
|
|
|
|
when: register_config.stat.exists
|
|
|
|
when: register_config.stat.exists
|
|
|
|
|
|
|
|
|
|
|
|
- name: Configure the bridge
|
|
|
|
- name: Configure the bridge
|
|
|
|