ceph-ansible/infrastructure-playbooks
Benoît Knecht 35ce2bb643 infrastructure-playbooks: Get Ceph info in check mode
In the `set osd flags` block, run the Ceph commands that gather information
from the cluster (and don't make any changes to it) even when running in check
mode.

This allows the tasks that depend on the variables set by those tasks to
succeed in check mode.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
(cherry picked from commit d7653dca95)
2021-08-02 15:54:04 +02:00
..
untested-by-ci Use ansible_facts 2021-03-26 00:05:33 +01: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-26 09:12:22 +01:00
ceph-keys.yml ceph_key: set state as optional 2020-09-14 15:37:56 -04:00
cephadm-adopt.yml infrastructure-playbooks: Get Ceph info in check mode 2021-08-02 15:54:04 +02:00
cephadm.yml Use ansible_facts 2021-03-26 00:05:33 +01:00
docker-to-podman.yml docker2podman: skip some role imports from handler 2021-04-12 13:30:17 +02:00
filestore-to-bluestore.yml fs2bs: use match filter in selectattr() 2021-05-26 09:38:33 +02:00
gather-ceph-logs.yml lint: do not use 'local_action' 2020-11-24 10:39:03 +01:00
lv-create.yml lint: ignore 302,303,505 errors 2020-11-24 10:39:03 +01:00
lv-teardown.yml lint: ignore 302,303,505 errors 2020-11-24 10:39:03 +01:00
purge-cluster.yml purge: support osd_auto_discovery 2021-07-22 17:10:01 -04:00
purge-container-cluster.yml purge: merge playbooks 2021-07-22 17:10:01 -04:00
purge-dashboard.yml infra: add playbook to purge dashboard/monitoring 2021-07-06 11:40:38 -04:00
purge-iscsi-gateways.yml Use ansible_facts 2021-03-26 00:05:33 +01:00
rgw-add-users-buckets.yml Example ceph_add_users_buckets playbook 2018-12-20 14:23:25 +01:00
rolling_update.yml infrastructure-playbooks: Get Ceph info in check mode 2021-08-02 15:54:04 +02:00
shrink-mds.yml Use ansible_facts 2021-03-26 00:05:33 +01:00
shrink-mgr.yml shrink-mgr: modify existing mgr check 2021-06-29 17:52:33 +02:00
shrink-mon.yml Use ansible_facts 2021-03-26 00:05:33 +01:00
shrink-osd.yml Use ansible_facts 2021-03-26 00:05:33 +01:00
shrink-rbdmirror.yml Use ansible_facts 2021-03-26 00:05:33 +01:00
shrink-rgw.yml Use ansible_facts 2021-03-26 00:05:33 +01:00
storage-inventory.yml common: don't enable debug log on ceph-volume calls by default 2020-08-12 22:57:10 +02:00
switch-from-non-containerized-to-containerized-ceph-daemons.yml infrastructure-playbooks: Get Ceph info in check mode 2021-08-02 15:54:04 +02:00
take-over-existing-cluster.yml lint: set pipefail on shell tasks 2020-11-24 10:39:03 +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>.