mirror of https://github.com/ceph/ceph-ansible.git
ba4059d15a
The active mds host should be based on the inventory hostname and not on
the ansible hostname.
The value returns under the mdsmap structure is based on the OS hostname
so we need to find the right node in the inventory with this value when
doing operation on inventory nodes.
Othewise we could see error like:
The task includes an option with an undefined variable. The error was:
"hostvars[foobar]" is undefined
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
untested-by-ci | ||
vars | ||
README.md | ||
add-mon.yml | ||
add-osd.yml | ||
ansible.cfg | ||
ceph-keys.yml | ||
docker-to-podman.yml | ||
filestore-to-bluestore.yml | ||
gather-ceph-logs.yml | ||
lv-create.yml | ||
lv-teardown.yml | ||
purge-cluster.yml | ||
purge-docker-cluster.yml | ||
purge-iscsi-gateways.yml | ||
rgw-add-users-buckets.yml | ||
rolling_update.yml | ||
shrink-mds.yml | ||
shrink-mgr.yml | ||
shrink-mon.yml | ||
shrink-osd.yml | ||
shrink-rbdmirror.yml | ||
shrink-rgw.yml | ||
storage-inventory.yml | ||
switch-from-non-containerized-to-containerized-ceph-daemons.yml | ||
take-over-existing-cluster.yml |
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>
.