Matrix Docker Ansible eploy
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

16 行
929 B

  1. ---
  2. - name: Fail if required matrix-sliding-sync 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_sliding_sync_hostname', when: true}
  9. - {'name': 'matrix_sliding_sync_path_prefix', when: true}
  10. - {'name': 'matrix_sliding_sync_database_hostname', when: true}
  11. - {'name': 'matrix_sliding_sync_environment_variable_syncv3_server', when: true}
  12. - {'name': 'matrix_sliding_sync_environment_variable_syncv3_secret', when: true}
  13. - {'name': 'matrix_sliding_sync_container_network', when: true}
  14. - {'name': 'matrix_sliding_sync_metrics_proxying_hostname', when: "{{ matrix_sliding_sync_metrics_proxying_enabled }}"}
  15. - {'name': 'matrix_sliding_sync_metrics_proxying_path_prefix', when: "{{ matrix_sliding_sync_metrics_proxying_enabled }}"}