mirror of https://github.com/ceph/ceph-ansible.git
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
parent
5eb363e033
commit
ed4f23d530
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue