ceph-ansible/roles/ceph-config/templates/client_restapi_address.j2

3 lines
171 B
Django/Jinja

public addr = {{ hostvars[inventory_hostname]['restapi_address'] if hostvars[inventory_hostname]['restapi_address'] is defined else restapi_address }}:{{ restapi_port }}