cephadm-adopt: ensure /etc/ceph is present on monitoring node
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 7 Dec 2021 20:11:50 +0000 (21:11 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 7 Dec 2021 21:06:46 +0000 (22:06 +0100)
commit7ece59b41defc81ffd3bf184a24b63b45ec7d097
treef3b088fc6181195b475e17a9397766c8be20daf7
parent189ff9337202ce1900a8f6f8c3e48a6e3ecb7519
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>
infrastructure-playbooks/cephadm-adopt.yml