Merge pull request #2112 from ceph/remove-optional

[skip ci]
pull/2114/head
Sébastien Han 2017-10-26 14:23:10 +02:00 committed by GitHub
commit fdd6a468b7
1 changed files with 4 additions and 1 deletions

View File

@ -195,6 +195,7 @@
vars:
osd_group_name: osds
reboot_osd_node: False
hosts:
- "{{ osd_group_name|default('osds') }}"
@ -352,7 +353,9 @@
- restart machine
- wait for server to boot
- remove data
when: remove_osd_mountpoints.failed is defined
when:
- reboot_osd_node
- remove_osd_mountpoints.failed is defined
- name: see if ceph-disk is installed
shell: "which ceph-disk"