]> git-server-git.apps.pok.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>
Mon, 8 Nov 2021 09:36:14 +0000 (10:36 +0100)
commit0097cb09f107a5925391f6e62f702025d5637fd9
tree9da5f760f39cbe2a8c0bfdd47431667e649c9099
parent041e8b0eaa76dcf49d418e5f04f7d987ed369162
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>
(cherry picked from commit 2f34531304cc1f7a718118ca1931ea600e59ea7e)
infrastructure-playbooks/cephadm-adopt.yml