You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.1 KiB
25 lines
1.1 KiB
6 years ago
|
---
|
||
|
|
||
|
- name: Fail if required settings not defined
|
||
2 years ago
|
ansible.builtin.fail:
|
||
6 years ago
|
msg: >-
|
||
|
You need to define a required configuration setting (`{{ item }}`).
|
||
|
when: "vars[item] == ''"
|
||
|
with_items:
|
||
3 years ago
|
- "matrix_mautrix_facebook_public_endpoint"
|
||
6 years ago
|
- "matrix_mautrix_facebook_appservice_token"
|
||
|
- "matrix_mautrix_facebook_homeserver_token"
|
||
4 years ago
|
|
||
2 years ago
|
- when: "matrix_mautrix_facebook_database_engine == 'sqlite' and matrix_mautrix_facebook_docker_image.endswith(':da1b4ec596e334325a1589e70829dea46e73064b')"
|
||
|
block:
|
||
3 years ago
|
- name: Inject warning if on an old SQLite-supporting version
|
||
2 years ago
|
ansible.builtin.set_fact:
|
||
4 years ago
|
matrix_playbook_runtime_results: |
|
||
|
{{
|
||
2 years ago
|
matrix_playbook_runtime_results | default([])
|
||
4 years ago
|
+
|
||
|
[
|
||
3 years ago
|
"NOTE: Your mautrix-facebook bridge is still on SQLite and on the last version that supported it, before support was dropped. Support has been subsequently re-added in v0.3.2, so we advise you to upgrade (by removing your `matrix_mautrix_facebook_docker_image` definition from vars.yml)"
|
||
4 years ago
|
]
|
||
|
}}
|