missing quotes. :(

pull/389/head
dexter 2015-08-26 16:31:01 +08:00
parent 873c5cffb2
commit a39bd9f2a6
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@
{% if hostvars[host]['ansible_hostname'] is defined %}
[mon.{{ hostvars[host]['ansible_hostname'] }}]
host = {{ hostvars[host]['ansible_hostname'] }}
mon addr = {{ hostvars[host]['ansible_' + hostvars[host][monitor_interface]]['ipv4']['address'] }}
mon addr = {{ hostvars[host]['ansible_' + hostvars[host]['monitor_interface']]['ipv4']['address'] }}
{% endif %}
{% endfor %}