Skip to content

Commit 0c9047f

Browse files
committed
install cephadm on all nodes
1 parent 53981f3 commit 0c9047f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

hooks/playbooks/ceph.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,15 @@
9797
cifmw_admin_prikey: "{{ private_key_get['content'] | b64decode }}"
9898
cifmw_admin_distribute_private_key: true
9999
no_log: true
100+
post_tasks:
101+
# In case of adoption cases with external ceph, cephadm and the
102+
# dependant packages (lvm2) are missing on few ceph nodes, so
103+
# installing cephadm on all nodes.
104+
- name: Install cephadm package on all nodes
105+
ansible.builtin.include_role:
106+
name: cifmw_cephadm
107+
tasks_from: install_cephadm
108+
when: cifmw_cephadm_install_on_all_nodes | default(false) | bool
100109

101110
- name: Create Block Device on target nodes
102111
tags: block

0 commit comments

Comments
 (0)