]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
facts: follow up on f6b49f78
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 6 Jul 2022 01:01:14 +0000 (03:01 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 6 Jul 2022 01:06:01 +0000 (03:06 +0200)
f6b49f78a9f14c37b2ca81fa6172beba8f43adc4 changed a call back to `ipwrap`
This fixes this.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-facts/tasks/set_radosgw_address.yml

index 5860e17fa6952e7be8655b950bfd6150975ca078..a83032e2c340a52fb3cd9d54f776f98cef3d9d49 100644 (file)
@@ -46,7 +46,7 @@
 
     - name: set_fact _radosgw_address to radosgw_interface - ipv6
       set_fact:
-        _radosgw_address: "{{ hostvars[item]['ansible_facts'][hostvars[item]['_interface']][ip_version][0]['address'] | ipwrap }}"
+        _radosgw_address: "{{ hostvars[item]['ansible_facts'][hostvars[item]['_interface']][ip_version][0]['address'] | ansible.utils.ipwrap }}"
       loop: "{{ groups.get(rgw_group_name, []) }}"
       delegate_to: "{{ item }}"
       delegate_facts: true