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.
 
 

32 rivejä
2.2 KiB

  1. ---
  2. - ansible.builtin.fail:
  3. msg: |-
  4. The Google Hangouts service was discontinued on November 1st, 2022.
  5. The mautrix-hangouts bridge (which you have enabled via the `matrix_mautrix_hangouts_enabled` variable) will be removed from the playbook soon (in February 2025).
  6. We suggest that you uninstall this bridge by:
  7. 1. Tweaking your `vars.yml` file - setting `matrix_mautrix_hangouts_enabled` to `false` or better yet removing all `matrix_mautrix_hangouts_*` variables
  8. 2. Re-running the playbook with the `setup-all` (e.g. `just setup-all`) or `setup-mautrix-hangouts` tag (e.g. `just run-tags setup-mautrix-hangouts`), so that uninstallation tasks will run.
  9. In the future, an error will be raised for any `matrix_mautrix_hangouts_*` variables that the playbook detects in your `vars.yml` configuration file.
  10. Also see: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3863
  11. - name: Fail if required mautrix-hangouts settings not defined
  12. ansible.builtin.fail:
  13. msg: >-
  14. You need to define a required configuration setting (`{{ item.name }}`).
  15. when: "item.when | bool and vars[item.name] == ''"
  16. with_items:
  17. - {'name': 'matrix_mautrix_hangouts_public_endpoint', when: true}
  18. - {'name': 'matrix_mautrix_hangouts_appservice_token', when: true}
  19. - {'name': 'matrix_mautrix_hangouts_homeserver_token', when: true}
  20. - {'name': 'matrix_mautrix_hangouts_homeserver_address', when: true}
  21. - {'name': 'matrix_mautrix_hangouts_database_hostname', when: "{{ matrix_mautrix_hangouts_database_engine == 'postgres' }}"}
  22. - {'name': 'matrix_mautrix_hangouts_container_network', when: true}
  23. - {'name': 'matrix_mautrix_hangouts_metrics_proxying_hostname', when: "{{ matrix_mautrix_hangouts_metrics_proxying_enabled }}"}
  24. - {'name': 'matrix_mautrix_hangouts_metrics_proxying_path_prefix', when: "{{ matrix_mautrix_hangouts_metrics_proxying_enabled }}"}
  25. - {'name': 'matrix_mautrix_hangouts_container_labels_public_endpoint_hostname', when: "{{ matrix_mautrix_hangouts_container_labels_public_endpoint_enabled }}"}
  26. - {'name': 'matrix_mautrix_hangouts_container_labels_public_endpoint_path_prefix', when: "{{ matrix_mautrix_hangouts_container_labels_public_endpoint_enabled }}"}