]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Replace ip_version check with ansible test v6.0.28.4
authorLukas Bezdicka <lbezdick@redhat.com>
Wed, 19 Apr 2023 11:16:49 +0000 (13:16 +0200)
committerTeoman ONAY <tonay@ibm.com>
Tue, 2 May 2023 14:05:05 +0000 (16:05 +0200)
commitaf9a8073933dac57760f4ab4093d5eb110301a01
treea50912ed7ef18e796726ab96b56a71ffe1b66328
parentdcb690bab27f4757d3f20496591a477f3f489549
Replace ip_version check with ansible test

Instead of checking ip_version variable we should check the input
address for ip version and select code path based on that.

This solves ceph adoption with mixed ipv6 and ipv4 networks.

Resolves: rhbz#2186226
Signed-off-by: Lukas Bezdicka <lbezdick@redhat.com>
infrastructure-playbooks/cephadm-adopt.yml