Matrix Docker Ansible eploy
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

27 líneas
1.0 KiB

  1. # SPDX-FileCopyrightText: 2022 - 2023 Julian-Samuel Gebühr
  2. # SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
  3. # SPDX-FileCopyrightText: 2025 Suguru Hirahara
  4. #
  5. # SPDX-License-Identifier: AGPL-3.0-or-later
  6. ---
  7. - name: Fail if required settings not defined
  8. ansible.builtin.fail:
  9. msg: >-
  10. You need to define a required configuration setting (`{{ item }}`).
  11. when: "vars[item] == ''"
  12. with_items:
  13. - "matrix_bot_matrix_registration_bot_bot_password"
  14. - "matrix_bot_matrix_registration_bot_api_base_url"
  15. - name: (Deprecation) Catch and report renamed settings
  16. ansible.builtin.fail:
  17. msg: >-
  18. Your configuration contains a variable, which now has a different name.
  19. Please rename the variable (`{{ item.old }}` -> `{{ item.new }}`) on your configuration file (vars.yml).
  20. when: "item.old in vars"
  21. with_items:
  22. - {'old': 'matrix_bot_matrix_registration_bot_bot_access_token', 'new': '<removed>'}
  23. - {'old': 'matrix_bot_matrix_registration_bot_matrix_homeserver_url', 'new': 'matrix_bot_matrix_registration_bot_api_base_url'}