Merge pull request #603 from bengland2/fix_purge_nonosd

fix purge-request.yml so non-OSD hosts will not fail
pull/626/head
Leseb 2016-03-14 18:35:35 +01:00
commit 4331b8b639
1 changed files with 1 additions and 3 deletions

View File

@ -43,11 +43,9 @@
tasks:
- name: get osd numbers
shell: ls /var/lib/ceph/osd | cut -d "-" -f 2
shell: "if [ -d /var/lib/ceph/osd ] ; then ls /var/lib/ceph/osd | cut -d '-' -f 2 ; fi"
register: osd_ids
changed_when: false
when:
osd_group_name in group_names
# Infernalis
- name: stop ceph.target with systemd