mirror of https://github.com/ceph/ceph-ansible.git
0b3a608216
This construct doesn't work as intended since ansible/ansible#74212: ``` ceph_osd_ids.stdout | default('{}') | from_json ``` That PR made the `command` module return `stdout` even in check mode (setting it to the empty string), so `default()` has no effect in that case and `from_json()` fails to parse an empty string. Instead, `default()` needs to be invoked with its second argument set to `True`, so that it replaces any `False` value (such as an empty string) with its first argument: ``` ceph_osd_ids.stdout | default('{}', True) | from_json ``` Signed-off-by: Benoît Knecht <bknecht@protonmail.ch> |
||
---|---|---|
.github | ||
contrib | ||
docs | ||
group_vars | ||
infrastructure-playbooks | ||
library | ||
module_utils | ||
plugins | ||
profiles | ||
roles | ||
tests | ||
.deepsource.toml | ||
.gitignore | ||
.mergify.yml | ||
CONTRIBUTING.md | ||
LICENSE | ||
Makefile | ||
README-MULTISITE.md | ||
README.rst | ||
Vagrantfile | ||
ansible.cfg | ||
ceph-ansible.spec.in | ||
dashboard.yml | ||
dummy-ansible-hosts | ||
generate_group_vars_sample.sh | ||
raw_install_python.yml | ||
requirements.txt | ||
requirements.yml | ||
rhcs_edits.txt | ||
site-container.yml.sample | ||
site.yml.sample | ||
test.yml | ||
tox-cephadm.ini | ||
tox-docker2podman.ini | ||
tox-external_clients.ini | ||
tox-filestore_to_bluestore.ini | ||
tox-podman.ini | ||
tox-shrink_osd.ini | ||
tox-subset_update.ini | ||
tox-update.ini | ||
tox.ini | ||
vagrant_variables.yml.sample |
README.rst
ceph-ansible ============ Ansible playbooks for Ceph, the distributed filesystem. Please refer to our hosted documentation here: https://docs.ceph.com/projects/ceph-ansible/en/latest/ You can view documentation for our ``stable-*`` branches by substituting ``master`` in the link above for the name of the branch. For example: https://docs.ceph.com/projects/ceph-ansible/en/stable-5.0/