ceph-ansible/infrastructure-playbooks
Guillaume Abrioux b723ef3fa2 purge: fix lvm-batch purge osd
`lvm_volumes` and/or `devices` variable(s) can be undefined depending on
the scenario chosen.

These tasks should be run only if these variable are defined, otherwise
it ends up with undefined variable errors.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1653307

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 0180738313)
2019-04-04 03:38:52 +02:00
..
untested-by-ci Make python print statements python3 compatible 2019-02-01 15:23:27 +00:00
vars infrastructure playbooks: ensure nvme_device is defined in lv-create.yml 2018-10-29 08:41:42 +00:00
README.md rolling_update: fix wrong indent 2016-10-26 12:51:08 -05:00
add-osd.yml add-osd.yml: Add become flag for ceph-validate 2019-03-09 05:54:46 +00:00
ansible.cfg Cleanup plugins directories and references 2018-03-14 11:15:39 +01:00
ceph-keys.yml ceph_key: add fetch_initial_keys capability 2018-11-09 12:45:52 +01:00
gather-ceph-logs.yml infra: add a gather-ceph-logs.yml playbook 2018-10-17 13:52:19 +00:00
lv-create.yml retry on packages and repositories failures 2018-12-19 14:48:27 +00:00
lv-teardown.yml retry on packages and repositories failures 2018-12-19 14:48:27 +00:00
purge-cluster.yml purge: fix lvm-batch purge osd 2019-04-04 03:38:52 +02:00
purge-docker-cluster.yml purge: fix lvm-batch purge osd 2019-04-04 03:38:52 +02:00
purge-iscsi-gateways.yml igw: stop tcmu-runner on iscsi purge 2018-11-09 10:02:16 +01:00
rgw-add-users-buckets.yml Example ceph_add_users_buckets playbook 2018-12-20 14:23:25 +01:00
rgw-standalone.yml don't use private option for import_role 2018-12-04 23:45:59 +00:00
rolling_update.yml rolling_update: Update systemd unit regex for nvme 2019-03-26 12:01:00 +00:00
shrink-mon.yml introduce new role ceph-facts 2018-12-12 11:18:01 +01:00
shrink-osd-ceph-disk.yml use pre_tasks and post_tasks when necessary 2018-12-05 08:17:10 +00:00
shrink-osd.yml shrink_osd: use cv zap by fsid to remove parts/lvs 2019-01-24 16:34:13 +01:00
storage-inventory.yml playbook: report storage device inventory 2018-12-18 10:51:31 +01:00
switch-from-non-containerized-to-containerized-ceph-daemons.yml switch_to_containers: support multiple rgw instances per host 2019-02-13 09:42:27 +01:00
take-over-existing-cluster.yml use pre_tasks and post_tasks when necessary 2018-12-05 08:17:10 +00:00

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, you must move them to ceph-ansible's root directory, then run using ansible-playbook <playbook>.