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

22 строки
991 B

  1. ---
  2. - name: Fail if required matrix-registration settings not defined
  3. ansible.builtin.fail:
  4. msg: >
  5. You need to define a required configuration setting (`{{ item.name }}`).
  6. when: "item.when | bool and vars[item.name] == ''"
  7. with_items:
  8. - {'name': 'matrix_registration_shared_secret', when: true}
  9. - {'name': 'matrix_registration_admin_secret', when: true}
  10. - {'name': 'matrix_registration_server_location', when: true}
  11. - {'name': 'matrix_registration_database_hostname', when: "{{ matrix_registration_database_engine == 'postgres' }}"}
  12. - name: (Deprecation) Catch and report renamed settings
  13. ansible.builtin.fail:
  14. msg: >-
  15. Your configuration contains a variable, which now has a different name.
  16. Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
  17. when: "item.old in vars"
  18. with_items:
  19. - {'old': 'matrix_registration_docker_repo', 'new': 'matrix_registration_container_image_self_build_repo'}