command: "ceph-volume --cluster={{ cluster }} simple scan --force"
environment:
CEPH_VOLUME_DEBUG: "{{ ceph_volume_debug }}"
- when:
- - ceph_release in ["nautilus", "octopus"]
- - not containerized_deployment | bool
+ when: not containerized_deployment | bool
- name: activate scanned ceph-disk osds and migrate to ceph-volume if deploying nautilus
command: "ceph-volume --cluster={{ cluster }} simple activate --all"
environment:
CEPH_VOLUME_DEBUG: "{{ ceph_volume_debug }}"
- when:
- - ceph_release in ["nautilus", "octopus"]
- - not containerized_deployment | bool
+ when: not containerized_deployment | bool
- name: get num_pgs - non container
command: "{{ container_exec_cmd_update_osd|default('') }} ceph --cluster {{ cluster }} pg stat --format json"