]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Replace ip_version check with ansible test
authorLukas Bezdicka <lbezdick@redhat.com>
Wed, 19 Apr 2023 11:16:49 +0000 (13:16 +0200)
committerTeoman ONAY <tonay@redhat.com>
Tue, 2 May 2023 12:56:33 +0000 (14:56 +0200)
commitd5e55516f47f9379137565bebbb43538bf60a1e8
treea0112e0ddcc812508ab84d732116548e97e79405
parentb87f214a96be5f834ba166014d54815d17ff6dd7
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>
(cherry picked from commit 5622a033a9f8a5c32fdd9429f40599d6b37cd7ac)
infrastructure-playbooks/cephadm-adopt.yml