mirror of https://github.com/ceph/ceph-ansible.git
facts: fix mon/mgr collocation
`service dump` hangs when no active mgr is available. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>subset-debug-6.0
parent
5596360ffd
commit
8ca2e9cafa
|
@ -184,6 +184,7 @@
|
|||
when:
|
||||
- (inventory_hostname in groups.get(rgw_group_name, []) or inventory_hostname in groups.get(nfs_group_name, []))
|
||||
- groups.get(mon_group_name, []) | length > 0
|
||||
- handler_mgr_status | default(False)
|
||||
block:
|
||||
- name: get ceph current status
|
||||
command: "{{ timeout_command }} {{ _container_exec_cmd | default('') }} ceph --cluster {{ cluster }} service dump -f json"
|
||||
|
|
Loading…
Reference in New Issue