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>
(cherry picked from commit 7164426456
)
pull/5556/head
parent
bc2aebaa26
commit
4e4748b58d
|
@ -1037,14 +1037,14 @@
|
|||
name: ceph-defaults
|
||||
|
||||
- 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
|
||||
changed_when: false
|
||||
environment:
|
||||
CEPHADM_IMAGE: '{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}'
|
||||
|
||||
- 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
|
||||
changed_when: false
|
||||
environment:
|
||||
|
|
Loading…
Reference in New Issue