mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-14 10:04:46 +08:00
2e16257e50
With most people on Synapse v0.99+ and Synapse v1.0 now available, we should no longer try to be backward compatible with Synapse 0.34, because this just complicates the instructions for no good reason.
24 lines
715 B
YAML
24 lines
715 B
YAML
---
|
|
|
|
- set_fact:
|
|
dns_srv_record_checks: []
|
|
|
|
- block:
|
|
- set_fact:
|
|
dns_srv_record_check_mxisd:
|
|
service_and_protocol: "_matrix-identity._tcp"
|
|
domain: "{{ (matrix_domain + '.') }}"
|
|
expected_target: "{{ (matrix_server_fqn_matrix + '.') }}"
|
|
expected_port: 443
|
|
|
|
- name: Determine domains that we require certificates for (mxisd)
|
|
set_fact:
|
|
dns_srv_record_checks: "{{ dns_srv_record_checks + [dns_srv_record_check_mxisd] }}"
|
|
when: matrix_mxisd_enabled|bool
|
|
|
|
- name: Perform DNS SRV checks
|
|
include_tasks: "{{ role_path }}/tasks/self_check_dns_srv.yml"
|
|
with_items: "{{ dns_srv_record_checks }}"
|
|
loop_control:
|
|
loop_var: dns_srv_record_check
|