]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
cephadm: use public_network when adding host
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 26 Oct 2021 07:04:21 +0000 (09:04 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 26 Oct 2021 19:09:06 +0000 (21:09 +0200)
commit7a12b854c47c37dbff21ce36af5bc5adc4eda68b
tree79ff41d476638fa670987088118a3f5280f8c77d
parent9c794aa9bcfab177f437f503bda0ff37dceca319
cephadm: use public_network when adding host

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
infrastructure-playbooks/cephadm.yml