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

26 行
1.2 KiB

  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_hostname', when: true}
  9. - {'name': 'matrix_registration_path_prefix', when: true}
  10. - {'name': 'matrix_registration_container_network', when: true}
  11. - {'name': 'matrix_registration_shared_secret', when: true}
  12. - {'name': 'matrix_registration_admin_secret', when: true}
  13. - {'name': 'matrix_registration_server_location', when: true}
  14. - {'name': 'matrix_registration_database_hostname', when: "{{ matrix_registration_database_engine == 'postgres' }}"}
  15. - name: (Deprecation) Catch and report renamed settings
  16. ansible.builtin.fail:
  17. msg: >-
  18. Your configuration contains a variable, which now has a different name.
  19. Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
  20. when: "item.old in vars"
  21. with_items:
  22. - {'old': 'matrix_registration_docker_repo', 'new': 'matrix_registration_container_image_self_build_repo'}
  23. - {'old': 'matrix_registration_public_endpoint', 'new': 'matrix_registration_path_prefix'}