]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
cephadm: use public_network when adding hosts
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 28 Oct 2021 12:10:26 +0000 (14:10 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 28 Oct 2021 14:37:22 +0000 (16:37 +0200)
commit2f34531304cc1f7a718118ca1931ea600e59ea7e
tree52f8d9ebc044193a948b7d3d871f8ed6a65c6dee
parent9aa9b4dda2e9e8d32c07c8648f44a628d8b4ead4
cephadm: use public_network when adding hosts

When adding host, using ansible_facts['default_ipv4']['address'] might
not be the desired network, we shouldn't enforce the subnet with the
default route.
Let's use the public_network instead.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2006415
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
infrastructure-playbooks/cephadm-adopt.yml