]> 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:23 +0000 (14:56 +0200)
commitbbaec6776c309f5f4eb8a0891ece48f19237981c
tree634bd16b162af1da152707d58cde5ca3d6d2eec2
parent9f44aa21b08b042c22e4e5fd3eae47c64c4d5ba2
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