]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-common: remove unused mon_addr_interface.j2 template
authorAndrew Schoen <aschoen@redhat.com>
Wed, 2 Nov 2016 20:36:03 +0000 (15:36 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 2 Nov 2016 20:36:03 +0000 (15:36 -0500)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
roles/ceph-common/templates/mon_addr_interface.j2 [deleted file]

diff --git a/roles/ceph-common/templates/mon_addr_interface.j2 b/roles/ceph-common/templates/mon_addr_interface.j2
deleted file mode 100644 (file)
index 1074831..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-mon host = {% for host in groups[mon_group_name] %}
-  {% for key in hostvars[host].iterkeys() %}
-    {% if hostvars[host][key]['macaddress'] is defined and hostvars[host][key]['device'] is defined and hostvars[host][key]['device'] == monitor_interface %}
-      {{ hostvars[host][key]['ipv4']['address'] }}
-    {% endif %}
-  {% endfor %}
-{% if not loop.last %},{% endif %}{% endfor %}