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

3 lines
121 B
Django/Jinja

mon addr = {{ hostvars[host]['monitor_address'] if hostvars[host]['monitor_address'] is defined else monitor_address }}