]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
missing quotes. :(
authordexter <dgenterone@acale.ph>
Wed, 26 Aug 2015 08:31:01 +0000 (16:31 +0800)
committerdexter <dgenterone@acale.ph>
Wed, 26 Aug 2015 08:31:01 +0000 (16:31 +0800)
roles/ceph-common/templates/ceph.conf.j2

index 170d67514b2df58530c58e7afa7e04d8d374cbe8..df051ccf92a92ee2efd451cd825bb75ea51e634f 100644 (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 %}