Commit 381201a3 authored by Dimitri Savineau's avatar Dimitri Savineau Committed by Dimitri Savineau
Browse files

cephadm-adopt: show orchestrator status



At the end of the playbook we can show the orchestrator status like
we do with the ceph status in initial deployment.
Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
parent 91a6c79e
......@@ -911,3 +911,25 @@
changed_when: false
environment:
CEPHADM_IMAGE: '{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}'
- name: show ceph orchestrator status
hosts: "{{ mon_group_name|default('mons') }}"
become: true
gather_facts: false
tasks:
- import_role:
name: ceph-defaults
- name: show ceph orchestrator services
command: "cephadm shell --fsid {{ fsid }} -- ceph --cluster {{ cluster }} orch ls"
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"
run_once: true
changed_when: false
environment:
CEPHADM_IMAGE: '{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment