From 0c9047f69761c70244fb9b168d95c34b020a3957 Mon Sep 17 00:00:00 2001 From: mkatari Date: Fri, 12 Dec 2025 19:37:50 +0530 Subject: [PATCH] install cephadm on all nodes --- hooks/playbooks/ceph.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hooks/playbooks/ceph.yml b/hooks/playbooks/ceph.yml index eecf70eaac..00b93e30c6 100644 --- a/hooks/playbooks/ceph.yml +++ b/hooks/playbooks/ceph.yml @@ -97,6 +97,15 @@ cifmw_admin_prikey: "{{ private_key_get['content'] | b64decode }}" cifmw_admin_distribute_private_key: true no_log: true + post_tasks: + # In case of adoption cases with external ceph, cephadm and the + # dependant packages (lvm2) are missing on few ceph nodes, so + # installing cephadm on all nodes. + - name: Install cephadm package on all nodes + ansible.builtin.include_role: + name: cifmw_cephadm + tasks_from: install_cephadm + when: cifmw_cephadm_install_on_all_nodes | default(false) | bool - name: Create Block Device on target nodes tags: block