mirror of https://github.com/ceph/ceph-ansible.git
cephadm-adopt: refresh the service/daemon list
When reporting the orchestrator service/daemon list at the end of the playbook, we can use the --refresh option otherwise we could have an outdated output. Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>pull/5554/head
parent
ceac81cd24
commit
7164426456
|
@ -1037,14 +1037,14 @@
|
||||||
name: ceph-defaults
|
name: ceph-defaults
|
||||||
|
|
||||||
- name: show ceph orchestrator services
|
- name: show ceph orchestrator services
|
||||||
command: "cephadm shell --fsid {{ fsid }} -- ceph --cluster {{ cluster }} orch ls"
|
command: "cephadm shell --fsid {{ fsid }} -- ceph --cluster {{ cluster }} orch ls --refresh"
|
||||||
run_once: true
|
run_once: true
|
||||||
changed_when: false
|
changed_when: false
|
||||||
environment:
|
environment:
|
||||||
CEPHADM_IMAGE: '{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}'
|
CEPHADM_IMAGE: '{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}'
|
||||||
|
|
||||||
- name: show ceph orchestrator daemons
|
- name: show ceph orchestrator daemons
|
||||||
command: "cephadm shell --fsid {{ fsid }} -- ceph --cluster {{ cluster }} orch ps"
|
command: "cephadm shell --fsid {{ fsid }} -- ceph --cluster {{ cluster }} orch ps --refresh"
|
||||||
run_once: true
|
run_once: true
|
||||||
changed_when: false
|
changed_when: false
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in New Issue