when:
- containerized_deployment
+ - name: scan ceph-disk osds with ceph-volume if deploying nautilus
+ command: "ceph-volume --cluster={{ cluster }} simple scan"
+ environment:
+ CEPH_VOLUME_DEBUG: 1
+ when:
+ - ceph_release in ["nautilus", "octopus"]
+ - not containerized_deployment
+
+ - 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: 1
+ when:
+ - ceph_release in ["nautilus", "octopus"]
+ - not containerized_deployment
+
- name: set_fact docker_exec_cmd_osd
set_fact:
docker_exec_cmd_update_osd: "{{ container_binary }} exec ceph-mon-{{ hostvars[groups[mon_group_name][0]]['ansible_hostname'] }}"