mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 12:35:51 +00:00
8abe1ac483
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1401 https://github.com/mautrix/facebook/releases/tag/v0.3.2 says that this version re-adds SQLite support.
24 lines
1002 B
YAML
24 lines
1002 B
YAML
---
|
|
|
|
- name: Fail if required settings not defined
|
|
fail:
|
|
msg: >-
|
|
You need to define a required configuration setting (`{{ item }}`).
|
|
when: "vars[item] == ''"
|
|
with_items:
|
|
- "matrix_mautrix_facebook_appservice_token"
|
|
- "matrix_mautrix_facebook_homeserver_token"
|
|
|
|
- block:
|
|
- name: Inject warning if on an old SQLite-supporting version
|
|
set_fact:
|
|
matrix_playbook_runtime_results: |
|
|
{{
|
|
matrix_playbook_runtime_results|default([])
|
|
+
|
|
[
|
|
"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)"
|
|
]
|
|
}}
|
|
when: "matrix_mautrix_facebook_database_engine == 'sqlite' and matrix_mautrix_facebook_docker_image.endswith(':da1b4ec596e334325a1589e70829dea46e73064b')"
|