Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

25 wiersze
1.0 KiB

  1. # SPDX-FileCopyrightText: 2024 MDAD project contributors
  2. # SPDX-FileCopyrightText: 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 matrix-bot-draupnir variables are undefined
  8. ansible.builtin.fail:
  9. msg: "The `{{ item }}` variable must be defined and have a non-null value."
  10. with_items:
  11. - "matrix_appservice_draupnir_for_all_master_control_room_alias"
  12. - "matrix_bot_draupnir_container_network"
  13. when: "vars[item] == '' or vars[item] is none"
  14. - name: (Deprecation) Catch and report renamed matrix-appservice-draupnir-for-all settings
  15. ansible.builtin.fail:
  16. msg: >-
  17. Your configuration contains a variable, which now has a different name.
  18. Please rename the variable (`{{ item.old }}` -> `{{ item.new }}`) on your configuration file (vars.yml).
  19. when: "item.old in vars"
  20. with_items:
  21. - {'old': 'matrix_appservice_draupnir_for_all_docker_image_name_prefix', 'new': 'matrix_appservice_draupnir_for_all_docker_image_registry_prefix'}