Remove check for "Fail if Matrix Federation is disabled"

This playbook now suports running dimension in both a federated and an
unfederated environment.
This commit is contained in:
Chris van Dijk 2020-04-18 19:01:45 +02:00
parent 3ddb8cd148
commit da2e90dcc1

View File

@ -6,14 +6,6 @@
- "matrix_dimension_access_token"
when: "matrix_dimension_enabled and vars[item] == ''"
- name: Fail if Matrix Federation is disabled
fail:
msg: >-
You need to enable Matrix Federation to use Dimension. Set `{{ item }}` to 'true'.
with_items:
- "matrix_synapse_federation_enabled"
when: "matrix_dimension_enabled|bool and not matrix_synapse_federation_enabled|bool"
- name: (Deprecation) Catch and report renamed Dimension variables
fail:
msg: >-