cephadm-adopt: ensure /etc/ceph is present on monitoring node rhcs-5.0 v6.0.20.2
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 7 Dec 2021 20:11:50 +0000 (21:11 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 6 Jan 2022 09:22:03 +0000 (10:22 +0100)
commit6179262f982ba5d92d05a8c2173836330ec75b71
tree2753d5c5ff6e9949dee4ca14cbcae291874cd54c
parent717b305a7a59b504f8d24d0dbea53412fdbbb937
cephadm-adopt: ensure /etc/ceph is present on monitoring node

When deploying the monitoring stack on a dedicated node, the directory
`/etc/ceph` has never been created. Therefore, the play for adopting the
monitoring stack fails because it can't write the minimal config file.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2029697
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 7ece59b41defc81ffd3bf184a24b63b45ec7d097)
(cherry picked from commit 8a32576d209bc329b4159a781151a7d3a40c5b7d)
infrastructure-playbooks/cephadm-adopt.yml