2017-09-07 09:32:15 +02:00
|
|
|
---
|
2017-11-11 23:24:49 +01:00
|
|
|
dns_gate_num: "gate{{ magic }}.{{ http_domain_external }}"
|
|
|
|
dns_gate_icvpn: "icvpn{{ magic }}.{{ http_domain_external }}"
|
2017-09-07 09:32:15 +02:00
|
|
|
|
|
|
|
dns_host_ipv4_address: "{{ lookup('dig', inventory_hostname, 'qtype=A') }}"
|
|
|
|
dns_host_ipv6_address: "{{ lookup('dig', inventory_hostname, 'qtype=AAAA') }}"
|
2017-11-11 23:24:49 +01:00
|
|
|
dns_gate_num_cname: "{{ lookup('dig', dns_gate_num, 'qtype=CNAME') | regex_replace('\\.$') }}"
|
|
|
|
dns_gate_icvpn_cname: "{{ lookup('dig', dns_gate_icvpn, 'qtype=CNAME') | regex_replace('\\.$') }}"
|