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