]> 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>
Mon, 24 Apr 2023 12:21:24 +0000 (14:21 +0200)
commit5622a033a9f8a5c32fdd9429f40599d6b37cd7ac
treec8ed38e1a47a7866f84db384790c7448b61af1db
parent99573c4bba5ec2def0cb76e62558a7f664025544
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