From: Dimitri Savineau Date: Wed, 15 Jul 2020 19:15:06 +0000 (-0400) Subject: cephadm-adopt: refresh the service/daemon list X-Git-Tag: v6.0.0alpha2~119 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7164426456a1bb29b3054d109e83cacf1966bd42;p=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 --- diff --git a/infrastructure-playbooks/cephadm-adopt.yml b/infrastructure-playbooks/cephadm-adopt.yml index e2f75cc5b..ed7100e50 100644 --- a/infrastructure-playbooks/cephadm-adopt.yml +++ b/infrastructure-playbooks/cephadm-adopt.yml @@ -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: