diff --git a/local-playbooks/roles/configure-dns/templates/var/named/subnet.in-addr.arpa.zone.j2 b/local-playbooks/roles/configure-dns/templates/var/named/subnet.in-addr.arpa.zone.j2 index 1c01e65..eca00c0 100644 --- a/local-playbooks/roles/configure-dns/templates/var/named/subnet.in-addr.arpa.zone.j2 +++ b/local-playbooks/roles/configure-dns/templates/var/named/subnet.in-addr.arpa.zone.j2 @@ -1,9 +1,3 @@ -{% set bootstrap = cluster_nodes['bootstrap'] %} -{% set masters = cluster_nodes['masters'] %} -{% set workers = cluster_nodes['workers'] %} -{% if cluster_nodes['bootworker'] is defined %} -{% set bootworker = cluster_nodes['bootworker'] %} -{% endif %} $TTL 900 @ IN SOA bastion-int.{{ cluster_domain_name }} hostmaster.{{ cluster_domain_name }}. ( @@ -14,22 +8,3 @@ $TTL 900 {{ zvm_internal_ip_address.split('.')[3] }} IN PTR zVM.ibmpoc.internal. {{ zvm_internal_ip_address.split('.')[3] }} IN PTR LDAPSRV.ibmpoc.internal. {{ bastion_private_ip_address.split('.')[3] }} IN PTR bastion-int.{{ cluster_domain_name }}. - -{% for item in masters.keys() %} -{{ masters[item].ip.split('.')[3] }} IN PTR {{ item }}.{{ cluster_domain_name }}. -{% endfor %} - -{% if workers is defined %} -{% for item in workers.keys() %} -{{ workers[item].ip.split('.')[3] }} IN PTR {{ item }}.{{ cluster_domain_name }}. -{% endfor %} -{% endif %} -{% if bootworker is defined %} -{% for item in bootworker.keys() %} -{{ bootworker[item].ip.split('.')[3] }} IN PTR {{ item }}.{{ cluster_domain_name }}. -{% endfor %} -{% endif %} - -{% for item in bootstrap.keys() %} -{{ bootstrap[item].ip.split('.')[3] }} IN PTR {{ item }}.{{ cluster_domain_name }}. -{% endfor %}