]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-iscsi: don't use bracket with trusted_ip_list
authorDimitri Savineau <dsavinea@redhat.com>
Tue, 14 Jan 2020 15:07:56 +0000 (10:07 -0500)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Tue, 14 Jan 2020 16:32:36 +0000 (11:32 -0500)
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>
roles/ceph-iscsi-gw/tasks/common.yml

index 4db9dc216f236d3dfc8cab533af4f8c060e9c0f7..4af9e3ca971c5a24446bdad5721e11336d43b772 100644 (file)
@@ -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