mirror of https://github.com/ceph/ceph-ansible.git
4052ab29f2
This handles missing /etc/ceph/osd, by ensuring we actually found files in
`/etc/ceph/osd` before trying to slurp their content.
This also add a missing `| default(False)` to avoid fowlloing error:
```
fatal: [ceph01]: FAILED! =>
msg: |-
The conditional check 'ceph_osd_data_json[item.2]['encrypted'] | bool' failed. The error was: error while evaluating conditional (ceph_osd_data_json[item.2]['encrypted'] | bool): 'dict object' has no attribute 'encrypted'
```
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1862416
Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
(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-container-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, run ansible-playbook infrastructure-playbooks/<playbook>
.