Matrix Docker Ansible eploy
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.
 
 

16 lines
572 B

  1. - name: Fail if required Dimension settings not defined
  2. fail:
  3. msg: >-
  4. You need to define a required configuration setting (`{{ item }}`) for using Dimension.
  5. with_items:
  6. - "matrix_dimension_access_token"
  7. when: "matrix_dimension_enabled and vars[item] == ''"
  8. - name: Fail if Matrix Federation is disabled
  9. fail:
  10. msg: >-
  11. You need to enable Matrix Federation to use Dimension. Set `{{ item }}` to 'true'.
  12. with_items:
  13. - "matrix_synapse_federation_enabled"
  14. when: "matrix_dimension_enabled and matrix_synapse_federation_enabled == false"