ceph-mon: change command to see if rbd exists

The previous command was hanging, see this issue:

https://github.com/ceph/ceph-ansible/issues/1440

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/1442/head
Andrew Schoen 2017-04-12 15:07:10 -05:00
parent bda744a5f4
commit 9ce0c2808e
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@
- include: set_osd_pool_default_pg_num.yml
- name: test if rbd exists
command: ceph --cluster {{ cluster }} osd pool stats rbd
command: ceph --cluster {{ cluster }} osd pool get rbd size
changed_when: false
failed_when: false
register: rbd_pool_exist