mirror of https://github.com/ceph/ceph-ansible.git
switch2container: fix mon quorum check
This was reverted by 7ddbe74
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1990733
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
pull/6820/head
parent
6897153ab7
commit
712a9c4403
|
@ -143,7 +143,7 @@
|
|||
command: "{{ container_binary }} run --rm -v /etc/ceph:/etc/ceph:z --entrypoint=ceph {{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }} --cluster {{ cluster }} quorum_status --format json"
|
||||
register: ceph_health_raw
|
||||
changed_when: false
|
||||
until: hostvars[mon_host]['ansible_facts']['hostname'] in (ceph_health_raw.stdout | from_json)["quorum_names"]
|
||||
until: ansible_facts['hostname'] in (ceph_health_raw.stdout | trim | from_json)["quorum_names"]
|
||||
retries: "{{ health_mon_check_retries }}"
|
||||
delay: "{{ health_mon_check_delay }}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue