Matrix Docker Ansible eploy
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 

24 行
1008 B

  1. # SPDX-FileCopyrightText: 2024 MDAD project contributors
  2. # SPDX-FileCopyrightText: 2024 Slavi Pantaleev
  3. #
  4. # SPDX-License-Identifier: AGPL-3.0-or-later
  5. ---
  6. - name: Fail if required matrix-bot-draupnir variables are undefined
  7. ansible.builtin.fail:
  8. msg: "The `{{ item }}` variable must be defined and have a non-null value."
  9. with_items:
  10. - "matrix_appservice_draupnir_for_all_master_control_room_alias"
  11. - "matrix_bot_draupnir_container_network"
  12. when: "vars[item] == '' or vars[item] is none"
  13. - name: (Deprecation) Catch and report renamed matrix-appservice-draupnir-for-all settings
  14. ansible.builtin.fail:
  15. msg: >-
  16. Your configuration contains a variable, which now has a different name.
  17. Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
  18. when: "item.old in vars"
  19. with_items:
  20. - {'old': 'matrix_appservice_draupnir_for_all_docker_image_name_prefix', 'new': 'matrix_appservice_draupnir_for_all_docker_image_registry_prefix'}