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>
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: