We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a0e414 + 39254cf commit e2c6015Copy full SHA for e2c6015
tasks/ceph.yml
@@ -44,7 +44,7 @@
44
45
- name: Generate a list of active OSDs
46
ansible.builtin.set_fact:
47
- _existing_ceph_osds: "{{ _ceph_volume_data.stdout | from_json | json_query('*[].devices[]') }}"
+ _existing_ceph_osds: "{{ _ceph_volume_data.stdout | from_json | json_query('*[].devices[]') | default([]) }}"
48
49
- name: Generate list of unprovisioned OSDs
50
0 commit comments