Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

24 строки
987 B

  1. # SPDX-FileCopyrightText: 2024 Slavi Pantaleev
  2. #
  3. # SPDX-License-Identifier: AGPL-3.0-or-later
  4. ---
  5. - name: Fail if required matrix-cactus-comments-client settings not defined
  6. ansible.builtin.fail:
  7. msg: >-
  8. You need to define a required configuration setting (`{{ item }}`).
  9. when: "lookup('vars', item, default='') == ''"
  10. with_items:
  11. - matrix_cactus_comments_client_hostname
  12. - matrix_cactus_comments_client_path_prefix
  13. - matrix_cactus_comments_client_container_network
  14. - name: (Deprecation) Catch and report renamed matrix-cactus-comments-client variables
  15. ansible.builtin.fail:
  16. msg: >-
  17. The variable `{{ item.old }}` is deprecated. Please use `{{ item.new }}` instead.
  18. when: "lookup('ansible.builtin.varnames', ('^' + item.old + '$'), wantlist=True) | length > 0"
  19. with_items:
  20. - {'old': 'matrix_cactus_comments_client_container_image_force_pull', 'new': '<removed> (the new community.docker.docker_image_pull module handles this natively)'}