ceph-ansible/roles/ceph-common/templates/client_restapi_interface.j2

3 lines
120 B
Django/Jinja

public addr = {{ hostvars[inventory_hostname]['ansible_' + restapi_interface]['ipv4']['address'] }}:{{ restapi_port }}