ceph-ansible/infrastructure-playbooks
Lukas Bezdicka af9a807393 Replace ip_version check with ansible test
Instead of checking ip_version variable we should check the input
address for ip version and select code path based on that.

This solves ceph adoption with mixed ipv6 and ipv4 networks.

Resolves: rhbz#2186226
Signed-off-by: Lukas Bezdicka <lbezdick@redhat.com>
2023-05-02 16:05:05 +02:00
..
untested-by-ci Use ansible_facts 2021-03-26 00:04:49 +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-25 09:34:44 +01:00
backup-and-restore-ceph-files.yml backup-and-restore: use archive/unarchive approach 2022-07-07 17:14:53 +02:00
ceph-keys.yml ceph_key: set state as optional 2020-09-14 14:12:21 -04:00
cephadm-adopt.yml Replace ip_version check with ansible test 2023-05-02 16:05:05 +02:00
cephadm.yml ansible: require 2.9 for downstream 2022-08-23 01:27:12 +02:00
docker-to-podman.yml docker2podman: skip some role imports from handler 2021-04-12 13:30:09 +02:00
filestore-to-bluestore.yml fs2bs: use match filter in selectattr() 2021-05-26 09:15:43 +02: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: reset-failed ceph-crash 2022-06-15 21:13:22 +02:00
purge-container-cluster.yml purge: merge playbooks 2021-07-22 12:43:57 -04:00
purge-dashboard.yml purge-dashboard: check for legacy group name 'grafana-server' 2022-08-04 07:10:27 +02:00
purge-iscsi-gateways.yml Use ansible_facts 2021-03-26 00:04:49 +01:00
rgw-add-users-buckets.yml Fixes typo in rgw-add-users-buckets playbook 2021-08-09 14:31:42 -04:00
rolling_update.yml update: fix a typo 2022-07-06 13:09:19 +02:00
shrink-mds.yml Use ansible_facts 2021-03-26 00:04:49 +01:00
shrink-mgr.yml shrink-mgr: modify existing mgr check 2021-06-29 17:52:22 +02:00
shrink-mon.yml Use ansible_facts 2021-03-26 00:04:49 +01:00
shrink-osd.yml Refresh /etc/ceph/osd json files content before zapping the disks 2022-07-11 13:43:37 +02:00
shrink-rbdmirror.yml Use ansible_facts 2021-03-26 00:04:49 +01:00
shrink-rgw.yml Use ansible_facts 2021-03-26 00:04:49 +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 switch-to-containers: ignore errors when stopping service 2022-10-17 10:32:15 +02: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>.