mirror of https://github.com/ceph/ceph-ansible.git
5d06c0eda9
When running `infrastructure-playbooks/purge-cluster.yml` twice, it fails the
second time on the `ensure rbd devices are unmapped` task, because `rbdmap`
isn't installed anymore at that point.
This commit adds a check that ensures `rbdmap` is available, and skips the
`ensure rbd devices are unmapped` task if it isn't.
Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
(cherry picked from commit
|
||
---|---|---|
.. | ||
untested-by-ci | ||
vars | ||
README.md | ||
add-mon.yml | ||
add-osd.yml | ||
ansible.cfg | ||
ceph-keys.yml | ||
cephadm-adopt.yml | ||
cephadm.yml | ||
docker-to-podman.yml | ||
filestore-to-bluestore.yml | ||
gather-ceph-logs.yml | ||
lv-create.yml | ||
lv-teardown.yml | ||
purge-cluster.yml | ||
purge-container-cluster.yml | ||
purge-iscsi-gateways.yml | ||
rgw-add-users-buckets.yml | ||
rolling_update.yml | ||
shrink-mds.yml | ||
shrink-mgr.yml | ||
shrink-mon.yml | ||
shrink-osd.yml | ||
shrink-rbdmirror.yml | ||
shrink-rgw.yml | ||
storage-inventory.yml | ||
switch-from-non-containerized-to-containerized-ceph-daemons.yml | ||
take-over-existing-cluster.yml |
README.md
Infrastructure playbooks
This directory contains a variety of playbooks that can be used independently of the Ceph roles we have. They aim to perform infrastructure related tasks that would help use managing a Ceph cluster or performing certain operational tasks.
To use them, run ansible-playbook infrastructure-playbooks/<playbook>
.