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.
 
 

21 líneas
724 B

  1. # SPDX-FileCopyrightText: 2024 Slavi Pantaleev
  2. #
  3. # SPDX-License-Identifier: AGPL-3.0-or-later
  4. ---
  5. - name: Fail if required Pantalaimon variables are undefined
  6. ansible.builtin.fail:
  7. msg: "The `{{ item }}` variable must be defined and have a non-null value."
  8. with_items:
  9. - "matrix_pantalaimon_homeserver_url"
  10. when: "vars[item] == '' or vars[item] is none"
  11. - name: (Deprecation) Catch and report renamed Pantalaimon variables
  12. ansible.builtin.fail:
  13. msg: >-
  14. The variable `{{ item.old }}` is deprecated. Please use `{{ item.new }}` instead.
  15. when: "item.old in vars"
  16. with_items:
  17. - {'old': 'matrix_pantalaimon_docker_image_name_prefix', 'new': 'matrix_pantalaimon_docker_image_registry_prefix'}