Changeset View
Changeset View
Standalone View
Standalone View
winery-test-environment/osd.yml
Show All 27 Lines | |||||
- hosts: osd | - hosts: osd | ||||
gather_facts: no | gather_facts: no | ||||
become: true | become: true | ||||
tasks: | tasks: | ||||
# the desired side effect here is twofold | # the desired side effect here is twofold | ||||
# * device zap blocks until the osd daemon is ready on the target host | # * device zap blocks until the osd daemon is ready on the target host | ||||
# * on grid5000 /dev/sdc needs to be applied | # * on grid5000 /dev/disk2 needs to be applied | ||||
- name: zap /dev/sdc | - name: zap /dev/disk2 | ||||
shell: | | shell: | | ||||
ceph orch device zap {{ inventory_hostname }} /dev/sdc --force || true | ceph orch device zap {{ inventory_hostname }} /dev/disk2 --force || true | ||||
delegate_to: ceph1 | delegate_to: ceph1 |