Skip to content

Commit

Permalink
ceph-dashboard: fix mgr dashboard IPv6 fact
Browse files Browse the repository at this point in the history
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>
(cherry picked from commit f172892)
  • Loading branch information
dsavineau committed Apr 23, 2020
1 parent 2e009dc commit b77e2b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b77e2b6

Please sign in to comment.