diff --git a/roles/ceph-common/tasks/installs/install_on_redhat.yml b/roles/ceph-common/tasks/installs/install_on_redhat.yml index b76a24d0f..f434d9dba 100644 --- a/roles/ceph-common/tasks/installs/install_on_redhat.yml +++ b/roles/ceph-common/tasks/installs/install_on_redhat.yml @@ -76,6 +76,26 @@ osd_group_name in group_names and ansible_pkg_mgr == "dnf" +- name: install distro or red hat storage ceph mds + yum: + name: "ceph-mds" + state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" + when: + (ceph_origin == "distro" or ceph_stable_rh_storage or ceph_dev or + (ceph_stable and ceph_stable_release not in ceph_stable_releases)) and + mds_group_name in group_names and + ansible_pkg_mgr == "yum" + +- name: install distro or red hat storage ceph mds + dnf: + name: "ceph-mds" + state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}" + when: + (ceph_origin == "distro" or ceph_stable_rh_storage or ceph_dev or + (ceph_stable and ceph_stable_release not in ceph_stable_releases)) and + mds_group_name in group_names and + ansible_pkg_mgr == "dnf" + - name: install ceph-test yum: name: ceph-test