summaryrefslogtreecommitdiffstats
path: root/roles/hostnames/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/hostnames/templates')
-rw-r--r--roles/hostnames/templates/records.template.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/hostnames/templates/records.template.yaml b/roles/hostnames/templates/records.template.yaml
index a916fd2b3..2f2420464 100644
--- a/roles/hostnames/templates/records.template.yaml
+++ b/roles/hostnames/templates/records.template.yaml
@@ -3,12 +3,12 @@ dns_records_add:
- view: private
zone: {{ dns_domain }}
entries:
-{% for mst in groups['openshift_masters'] %}
+{% for mst in groups['masters'] %}
- type: A
hostname: {{ hostvars[mst]['ansible_hostname'] }}
ip: {{ hostvars[mst]['dns_private_ip'] }}
{% endfor %}
-{% for node in groups['openshift_nodes'] %}
+{% for node in groups['nodes'] %}
- type: A
hostname: {{ hostvars[node]['ansible_hostname'] }}
ip: {{ hostvars[node]['dns_private_ip'] }}
@@ -16,12 +16,12 @@ dns_records_add:
- view: public
zone: {{ dns_domain}}
entries:
-{% for mst in groups['openshift_masters']%}
+{% for mst in groups['masters']%}
- type: A
hostname: {{ hostvars[mst]['ansible_hostname'] }}
ip: {{ hostvars[mst]['dns_public_ip'] }}
{% endfor %}
-{% for node in groups['openshift_nodes'] %}
+{% for node in groups['nodes'] %}
- type: A
hostname: {{ hostvars[node]['ansible_hostname'] }}
ip: {{ hostvars[node]['dns_public_ip'] }}