Merge pull request #701 from ceph/conf-fixes

look at monitor_interface in hostvars when choosing interface or address
pull/703/head
Leseb 2016-04-08 22:00:32 +02:00
commit 8959ab1843
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ host = {{ hostvars[host]['ansible_fqdn'] }}
[mon.{{ hostvars[host]['ansible_hostname'] }}]
host = {{ hostvars[host]['ansible_hostname'] }}
{% endif %}
{% if monitor_interface != "interface" %}
{% if hostvars[host]['monitor_interface'] != "interface" %}
{% include 'mon_addr_interface.j2' %}
{% else %}
{% include 'mon_addr_address.j2' %}