ceph-ansible/infrastructure-playbooks
Guillaume Abrioux c296824ae0 cephadm_adopt: fetch and write ceph minimal config
This commit makes the playbook fetch the minimal current ceph
configuration and write it later on monitoring nodes so `cephadm` can
proceed with the adoption.
When a monitoring stack was deployed on a dedicated node, it means no
`ceph.conf` file was written, `cephadm` requires a `ceph.conf` in order
to adopt the daemon present on the node.

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

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit b445df0479)
2021-03-18 08:51:59 +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: fetch and write ceph minimal config 2021-03-18 08:51:59 +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: rm service-cid files 2021-02-12 18:33:19 +01: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 update: convert legacy grafana-server groupname early 2021-03-16 14:33:40 +01: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: do not serialize the ceph-crash migration 2021-02-12 14:06:15 +01: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>.