ceph-facts: fix IPv6 _radosgw_address interface

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>
pull/5269/head
Dimitri Savineau 2020-04-27 16:01:24 -04:00 committed by Dimitri Savineau
parent 5eb363e033
commit ed4f23d530
1 changed files with 1 additions and 1 deletions

View File

@ -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