You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
935 B
28 lines
935 B
6 years ago
|
---
|
||
|
|
||
6 years ago
|
- name: Determine DNS SRV records to check (Matrix)
|
||
6 years ago
|
set_fact:
|
||
6 years ago
|
dns_srv_record_checks:
|
||
|
- service_and_protocol: "_matrix._tcp"
|
||
|
domain: "{{ (hostname_identity + '.') }}"
|
||
|
expected_target: "{{ (hostname_matrix + '.') }}"
|
||
|
expected_port: 8448
|
||
6 years ago
|
|
||
6 years ago
|
- block:
|
||
|
- set_fact:
|
||
|
dns_srv_record_check_mxisd:
|
||
|
service_and_protocol: "_matrix-identity._tcp"
|
||
|
domain: "{{ (hostname_identity + '.') }}"
|
||
|
expected_target: "{{ (hostname_matrix + '.') }}"
|
||
|
expected_port: 443
|
||
6 years ago
|
|
||
6 years ago
|
- 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"
|
||
6 years ago
|
|
||
6 years ago
|
- name: Perform DNS SRV checks
|
||
6 years ago
|
include_tasks: "{{ role_path }}/tasks/self_check_dns_srv.yml"
|
||
6 years ago
|
with_items: "{{ dns_srv_record_checks }}"
|
||
|
loop_control:
|
||
|
loop_var: dns_srv_record_check
|