Rename variables (s/mxisd/ma1sd/) and adapt roles

This commit is contained in:
Marcel Partap
2020-01-08 22:31:44 +01:00
parent 9d0803cdf9
commit 874e2e1fc0
6 changed files with 40 additions and 40 deletions

View File

@ -21,7 +21,7 @@
when: run_setup|bool
tags:
- setup-all
- setup-mxisd
- setup-ma1sd
- setup-synapse
- setup-nginx-proxy

View File

@ -5,16 +5,16 @@
- block:
- set_fact:
dns_srv_record_check_mxisd:
dns_srv_record_check_ma1sd:
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)
- name: Determine domains that we require certificates for (ma1sd)
set_fact:
dns_srv_record_checks: "{{ dns_srv_record_checks + [dns_srv_record_check_mxisd] }}"
when: matrix_mxisd_enabled|bool
dns_srv_record_checks: "{{ dns_srv_record_checks + [dns_srv_record_check_ma1sd] }}"
when: matrix_ma1sd_enabled|bool
- name: Perform DNS SRV checks
include_tasks: "{{ role_path }}/tasks/self_check_dns_srv.yml"