mirror of https://github.com/ceph/ceph-ansible.git
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
parent
bda744a5f4
commit
9ce0c2808e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue