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