Matrix Docker Ansible eploy
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

39 linhas
2.9 KiB

  1. # SPDX-FileCopyrightText: 2026 MDAD project contributors
  2. # SPDX-FileCopyrightText: 2026 Jason LaGuidice
  3. #
  4. # SPDX-License-Identifier: AGPL-3.0-or-later
  5. ---
  6. - name: (Deprecation) Catch and report renamed settings
  7. ansible.builtin.fail:
  8. msg: >-
  9. Your configuration contains a variable, which now has a different name.
  10. Please rename the variable (`{{ item.old }}` -> `{{ item.new }}`) on your configuration file (vars.yml).
  11. when: "lookup('ansible.builtin.varnames', ('^' + item.old + '$'), wantlist=True) | length > 0"
  12. with_items:
  13. - {'old': 'matrix_bridge_rustpush_metrics_enabled', 'new': '<removed> (the rustpush bridge does not support metrics)'}
  14. - {'old': 'matrix_bridge_rustpush_metrics_proxying_enabled', 'new': '<removed> (the rustpush bridge does not support metrics)'}
  15. - {'old': 'matrix_bridge_rustpush_metrics_proxying_hostname', 'new': '<removed> (the rustpush bridge does not support metrics)'}
  16. - {'old': 'matrix_bridge_rustpush_metrics_proxying_path_prefix', 'new': '<removed> (the rustpush bridge does not support metrics)'}
  17. - {'old': 'matrix_bridge_rustpush_container_labels_metrics_enabled', 'new': '<removed> (the rustpush bridge does not support metrics)'}
  18. - {'old': 'matrix_bridge_rustpush_container_labels_metrics_traefik_rule', 'new': '<removed> (the rustpush bridge does not support metrics)'}
  19. - {'old': 'matrix_bridge_rustpush_container_labels_metrics_traefik_priority', 'new': '<removed> (the rustpush bridge does not support metrics)'}
  20. - {'old': 'matrix_bridge_rustpush_container_labels_metrics_traefik_entrypoints', 'new': '<removed> (the rustpush bridge does not support metrics)'}
  21. - {'old': 'matrix_bridge_rustpush_container_labels_metrics_traefik_tls', 'new': '<removed> (the rustpush bridge does not support metrics)'}
  22. - {'old': 'matrix_bridge_rustpush_container_labels_metrics_traefik_tls_certResolver', 'new': '<removed> (the rustpush bridge does not support metrics)'}
  23. - {'old': 'matrix_bridge_rustpush_container_labels_metrics_middleware_basic_auth_enabled', 'new': '<removed> (the rustpush bridge does not support metrics)'}
  24. - {'old': 'matrix_bridge_rustpush_container_labels_metrics_middleware_basic_auth_users', 'new': '<removed> (the rustpush bridge does not support metrics)'}
  25. - name: Fail if required RustPush settings not defined
  26. ansible.builtin.fail:
  27. msg: >-
  28. You need to define a required configuration setting (`{{ item.name }}`).
  29. when: "item.when | bool and lookup('vars', item.name, default='') | string | length == 0"
  30. with_items:
  31. - {'name': 'matrix_bridge_rustpush_appservice_token', when: true}
  32. - {'name': 'matrix_bridge_rustpush_homeserver_address', when: true}
  33. - {'name': 'matrix_bridge_rustpush_homeserver_token', when: true}
  34. - {'name': 'matrix_bridge_rustpush_database_hostname', when: "{{ matrix_bridge_rustpush_database_engine == 'postgres' }}"}
  35. - {'name': 'matrix_bridge_rustpush_container_network', when: true}