From: Dimitri Savineau Date: Thu, 23 Apr 2020 18:34:39 +0000 (-0400) Subject: ceph-dashboard: fix mgr dashboard IPv6 fact X-Git-Tag: v6.0.0alpha2~207 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f1728929cdea745f613b60f215db6494dd23740a;p=ceph-ansible.git ceph-dashboard: fix mgr dashboard IPv6 fact 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 --- diff --git a/roles/ceph-dashboard/tasks/configure_dashboard_backends.yml b/roles/ceph-dashboard/tasks/configure_dashboard_backends.yml index ba688f42b..9538142a6 100644 --- a/roles/ceph-dashboard/tasks/configure_dashboard_backends.yml +++ b/roles/ceph-dashboard/tasks/configure_dashboard_backends.yml @@ -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