mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #603 from bengland2/fix_purge_nonosd
fix purge-request.yml so non-OSD hosts will not failpull/626/head
commit
4331b8b639
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue