diff --git a/roles/cifmw_cephadm/tasks/post.yml b/roles/cifmw_cephadm/tasks/post.yml index 92d4576eca..66d6e7328c 100644 --- a/roles/cifmw_cephadm/tasks/post.yml +++ b/roles/cifmw_cephadm/tasks/post.yml @@ -42,6 +42,32 @@ ansible.builtin.debug: msg: "{{ ceph_orch_ls.stdout_lines }}" when: cifmw_cephadm_verbose | bool + + - name: Get ceph config dump + ansible.builtin.command: "{{ cifmw_cephadm_ceph_cli }} config dump" + become: true + register: ceph_config_dump + - name: Show config dump + ansible.builtin.debug: + msg: "{{ ceph_config_dump.stdout_lines }}" + when: cifmw_cephadm_verbose | bool + + - name: Get ceph require-min-compat-client + ansible.builtin.command: "{{ cifmw_cephadm_ceph_cli }} osd get-require-min-compat-client" + become: true + register: ceph_min_compat_client + - name: Show ceph require-min-compat-client + ansible.builtin.debug: + msg: "{{ ceph_min_compat_client.stdout_lines }}" + + - name: Get ceph version + ansible.builtin.command: "{{ cifmw_cephadm_ceph_cli }} -v" + become: true + register: ceph_version + - name: Ceph version + ansible.builtin.debug: + msg: "{{ ceph_version.stdout_lines }}" + - name: Print the status of the deployed Ceph cluster ansible.builtin.command: "{{ cifmw_cephadm_ceph_cli }} -s" become: true