Skip to content

Commit

Permalink
Fixes for #221
Browse files Browse the repository at this point in the history
Another update for ELAN steady-state: remove the cluster nodes from the
reverse DNS file (we don't know any cluster definitions yet).
  • Loading branch information
viccross committed Jun 13, 2024
1 parent f0a49da commit b93fce8
Showing 1 changed file with 0 additions and 25 deletions.
Original file line number Diff line number Diff line change
@@ -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 }}. (
Expand All @@ -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 %}

0 comments on commit b93fce8

Please sign in to comment.