Skip to content

Commit

Permalink
ceph-facts: fix IPv6 _radosgw_address interface
Browse files Browse the repository at this point in the history
When using radosgw_interface and IPv6 setup then the _radosgw_address
fact doesn't use square brackets compared to the radosgw_address and
radosgw_address_block configuration.

Closes: #5325

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit ed4f23d)
  • Loading branch information
dsavineau committed Jun 3, 2020
1 parent 7b5dba4 commit 8c4190e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/ceph-facts/tasks/set_radosgw_address.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

- name: set_fact _radosgw_address to radosgw_interface - ipv6
set_fact:
_radosgw_address: "{{ hostvars[inventory_hostname][_interface][ip_version][0]['address'] }}"
_radosgw_address: "{{ hostvars[inventory_hostname][_interface][ip_version][0]['address'] | ipwrap }}"
when: ip_version == 'ipv6'

- name: set_fact rgw_instances without rgw multisite
Expand Down

0 comments on commit 8c4190e

Please sign in to comment.