ceph-ansible/infrastructure-playbooks
Dimitri Savineau 76a663245d cephadm-adopt: use ceph_osd_flag module
There's no reason to not use the ceph_osd_flag module to set/unset osd
flags.
Also if there's no OSD nodes in the inventory then we don't need to
execute the set/unset play.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2021-02-03 08:29:31 +01:00
..
untested-by-ci ansible: use 'bool' filter on boolean conditionals 2019-06-06 10:21:17 +02:00
vars osd: remove variable osd_scenario 2019-04-11 11:57:02 -04:00
README.md doc: update infra playbooks statements 2020-02-25 15:27:52 +01:00
add-mon.yml mon: refact initial keyring generation 2020-11-25 09:34:44 +01:00
ceph-keys.yml ceph_key: set state as optional 2020-09-14 14:12:21 -04:00
cephadm-adopt.yml cephadm-adopt: use ceph_osd_flag module 2021-02-03 08:29:31 +01:00
cephadm.yml cephadm: remove loop on host add tasks 2020-12-16 15:14:28 +01:00
docker-to-podman.yml defaults: change default grafana-server name 2020-09-29 07:42:26 +02:00
filestore-to-bluestore.yml fs2bs: remove a legacy fact 2021-01-28 16:26:46 +01:00
gather-ceph-logs.yml lint: do not use 'local_action' 2020-11-23 08:33:47 +01:00
lv-create.yml lint: ignore 302,303,505 errors 2020-11-23 08:33:47 +01:00
lv-teardown.yml lint: ignore 302,303,505 errors 2020-11-23 08:33:47 +01:00
purge-cluster.yml purge-cluster: use parted ansible module 2021-02-03 08:28:22 +01:00
purge-container-cluster.yml purge: zap and destroy db and wal devices for lvm batch 2021-02-01 13:01:58 -05:00
purge-iscsi-gateways.yml lint: all tasks should be named 2020-11-23 08:33:47 +01:00
rgw-add-users-buckets.yml Example ceph_add_users_buckets playbook 2018-12-20 14:23:25 +01:00
rolling_update.yml common: do not use pipefail when not needed 2020-12-01 15:07:09 -05:00
shrink-mds.yml lint: ignore 302,303,505 errors 2020-11-23 08:33:47 +01:00
shrink-mgr.yml lint: ignore 302,303,505 errors 2020-11-23 08:33:47 +01:00
shrink-mon.yml lint: commands should not change things 2020-11-23 08:33:47 +01:00
shrink-osd.yml consume ceph_volume module when possible 2020-12-01 17:54:10 +01:00
shrink-rbdmirror.yml lint: commands should not change things 2020-11-23 08:33:47 +01:00
shrink-rgw.yml lint: ignore 302,303,505 errors 2020-11-23 08:33:47 +01:00
storage-inventory.yml add missing boolean filter 2020-09-28 20:45:01 +02:00
switch-from-non-containerized-to-containerized-ceph-daemons.yml switch2container: fix mon quorum check 2021-01-11 14:42:45 -05:00
take-over-existing-cluster.yml lint: set pipefail on shell tasks 2020-11-23 08:33:47 +01: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, run ansible-playbook infrastructure-playbooks/<playbook>.