Matrix Docker Ansible eploy
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 

35 lignes
1.8 KiB

  1. # SPDX-FileCopyrightText: 2019 Thomas Kuehne
  2. # SPDX-FileCopyrightText: 2022 - 2025 Slavi Pantaleev
  3. # SPDX-FileCopyrightText: 2022 MDAD project contributors
  4. # SPDX-FileCopyrightText: 2022 Marko Weltzer
  5. #
  6. # SPDX-License-Identifier: AGPL-3.0-or-later
  7. ---
  8. - name: Fail if required mautrix-whatsapp settings not defined
  9. ansible.builtin.fail:
  10. msg: >-
  11. You need to define a required configuration setting (`{{ item.name }}`).
  12. when: "item.when | bool and vars[item.name] == ''"
  13. with_items:
  14. - {'name': 'matrix_mautrix_whatsapp_appservice_token', when: true}
  15. - {'name': 'matrix_mautrix_whatsapp_homeserver_address', when: true}
  16. - {'name': 'matrix_mautrix_whatsapp_homeserver_token', when: true}
  17. - {'name': 'matrix_mautrix_whatsapp_database_hostname', when: "{{ matrix_mautrix_whatsapp_database_engine == 'postgres' }}"}
  18. - name: (Deprecation) Catch and report renamed mautrix-whatsapp variables
  19. ansible.builtin.fail:
  20. msg: >-
  21. Your configuration contains a variable, which now has a different name.
  22. Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
  23. when: "item.old in vars"
  24. with_items:
  25. - {'old': 'matrix_mautrix_whatsapp_log_level', 'new': 'matrix_mautrix_whatsapp_logging_level'}
  26. - {'old': 'matrix_mautrix_whatsapp_login_shared_secret', 'new': '<removed>'}
  27. - {'old': 'matrix_mautrix_whatsapp_bridge_login_shared_secret_map', 'new': '<superseded by matrix_mautrix_whatsapp_double_puppet_secrets>'}
  28. - {'old': 'matrix_mautrix_whatsapp_bridge_double_puppet_server_map', 'new': '<removed>'}
  29. - {'old': 'matrix_mautrix_whatsapp_bridge_allow_user_invite', 'new': '<removed>'}
  30. - {'old': 'matrix_mautrix_whatsapp_bridge_mute_bridging', 'new': '<removed>'}
  31. - {'old': 'matrix_mautrix_whatsapp_docker_image_name_prefix', 'new': 'matrix_mautrix_whatsapp_docker_image_registry_prefix'}