mirror of https://github.com/ceph/ceph-ansible.git
ceph-dashboard: fix mgr dashboard IPv6 fact
pull/5316/head v4.0.2215ed9ee
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 commitf1728929cd
)
parent
2e009dcd59
commit
b77e2b64ce
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
- name: get current mgr backend - ipv6
|
- name: get current mgr backend - ipv6
|
||||||
set_fact:
|
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'
|
when: ip_version == 'ipv6'
|
||||||
|
|
||||||
- name: config the current dashboard backend
|
- name: config the current dashboard backend
|
||||||
|
|
Loading…
Reference in New Issue