]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-mon: fix support for ipv6 on containerized mons 1587/head
authorAndrew Schoen <aschoen@redhat.com>
Mon, 5 Jun 2017 15:51:47 +0000 (10:51 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Mon, 5 Jun 2017 15:51:47 +0000 (10:51 -0500)
commite8187f6a0fba6b158dfec37a198a64f712ee95c6
tree0971ce7eb43b77be1f2c6915514f820c121cda24
parent28c724d5c6625ddc1f7c0b3af4cdc375a0b58e99
ceph-mon: fix support for ipv6 on containerized mons

The fact ['ansible_$interface']['ipv4'] is a dictionary where
['ansible_$interface']['ipv6'] is a list. If we use
ansible_default_ipv6|ipv4 is is always a dictionary which allows us to
get the ipv6 and ipv4 address without adding more complexity to the
template.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
roles/ceph-mon/templates/ceph-mon.service.j2