diff --git a/ansible/roles/designate/templates/designate.conf.j2 b/ansible/roles/designate/templates/designate.conf.j2 index 402c4de5f8..cc3c1999a3 100644 --- a/ansible/roles/designate/templates/designate.conf.j2 +++ b/ansible/roles/designate/templates/designate.conf.j2 @@ -11,7 +11,7 @@ default_pool_id = {{ designate_pool_id }} workers = {{ openstack_service_workers }} [service:api] -listen = {{ hostvars[inventory_hostname]['ansible_' + dns_interface]['ipv4']['address'] }}:{{ designate_api_port }} +listen = {{ api_interface_address }}:{{ designate_api_port }} api_base_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ designate_api_port }} enabled_extensions_v2 = 'quotas, reports' workers = {{ openstack_service_workers }}