mirror of https://github.com/ceph/ceph-ansible.git
ceph-iscsi: don't use bracket with trusted_ip_list
The trusted_ip_list parameter for the rbd-target-api service doesn't
support ipv6 address with bracket.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1787531
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit bd87d69183
)
pull/4942/head
parent
ff3a3ee5e9
commit
09a71e4a8c
|
@ -32,7 +32,7 @@
|
|||
|
||||
- name: add mgr ip address to trusted list with dashboard - ipv6
|
||||
set_fact:
|
||||
trusted_ip_list: '{{ trusted_ip_list }},{{ hostvars[item]["ansible_all_ipv6_addresses"] | ips_in_ranges(public_network.split(",")) | last | ipwrap }}'
|
||||
trusted_ip_list: '{{ trusted_ip_list }},{{ hostvars[item]["ansible_all_ipv6_addresses"] | ips_in_ranges(public_network.split(",")) | last }}'
|
||||
with_items: '{{ groups[mgr_group_name] | default(groups[mon_group_name]) }}'
|
||||
when:
|
||||
- dashboard_enabled | bool
|
||||
|
|
Loading…
Reference in New Issue