norrowing it down
This commit is contained in:
parent
61a9070108
commit
f3eb3315a7
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue