ansible-ffibk/roles/prerequisites/vars/main.yml

4 lines
160 B
YAML

---
dns_host_ipv4_address: "{{ lookup('dig', inventory_hostname, 'qtype=A') }}"
dns_host_ipv6_address: "{{ lookup('dig', inventory_hostname, 'qtype=AAAA') }}"