]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-dashboard: fix mgr dashboard IPv6 fact
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 23 Apr 2020 18:34:39 +0000 (14:34 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Thu, 23 Apr 2020 18:44:46 +0000 (14:44 -0400)
15ed9ee introduced a regression for the mgr dashboard daemon using
IPv6 since the mgr dashboard configuration doesn't support brackets.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1827299
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
roles/ceph-dashboard/tasks/configure_dashboard_backends.yml

index ba688f42bfe427ea4501fbee82fea267e57c2a24..9538142a626193ded50f379eab2ea564f6a947c8 100644 (file)
@@ -6,7 +6,7 @@
 
 - name: get current mgr backend - ipv6
   set_fact:
-    mgr_server_addr: "{{ hostvars[dashboard_backend]['ansible_all_ipv6_addresses'] | ips_in_ranges(public_network.split(',')) | last | ipwrap }}"
+    mgr_server_addr: "{{ hostvars[dashboard_backend]['ansible_all_ipv6_addresses'] | ips_in_ranges(public_network.split(',')) | last }}"
   when: ip_version == 'ipv6'
 
 - name: config the current dashboard backend