mirror of
https://github.com/openshift/openshift-ansible-contrib.git
synced 2026-02-05 09:45:58 +01:00
Fix dns internal record for router
This commit is contained in:
committed by
Ryan Cook
parent
a37c588b05
commit
31fe831841
@@ -58,7 +58,7 @@
|
||||
record: "*.apps.{{ clusterid }}.{{ dns_domain }}"
|
||||
type: CNAME
|
||||
ttl: 300
|
||||
value: "{{ elbextinfra.results[0].elb.name if (state is undefined or 'absent' not in state) else r53_record.results[3].set.value }}"
|
||||
value: "{{ elbextinfra.results[0].elb.dns_name if (state is undefined or 'absent' not in state) else r53_record.results[3].set.value }}"
|
||||
zone: "{{ clusterid + '.' + dns_domain }}."
|
||||
when: "\
|
||||
( ( elbextinfra is defined ) and ( elbextinfra.results[0] is defined ) and ( elbextinfra.results[0].elb.name is defined ) ) \
|
||||
|
||||
Reference in New Issue
Block a user