kolla-ansible/roles/cephadm/tasks/pkg_redhat.yml
Michal Nasiadka a6e28f9562 CI: cephadm: Fix EL9 (Rocky)
CentOS Storage SIG rpms have a recommended install
section that installs podman - let's stop doing that.

Ceph is also suffering from the enormous open files
ulimit that EL9 defaults to - let's set a default
in docker engine for now.

Change-Id: I41f39f520dfecec307ad3b86e1e0363570198e42
2023-02-27 09:01:41 +00:00

30 lines
701 B
YAML

---
- name: Ensure yum repos directory exists
file:
path: /etc/yum.repos.d/
state: directory
recurse: yes
become: True
- name: Install centos-release-ceph
dnf:
name: "centos-release-ceph-{{ cephadm_ceph_release }}"
become: True
when: cephadm_use_package_from_distribution
- name: Enable Ceph base yum repository
yum_repository:
name: "{{ item.shortname }}"
description: "{{ item.name }}"
baseurl: "{{ item.url }}"
gpgkey: "{{ cephadm_ceph_rpm_gpg_key }}"
loop: "{{ cephadm_ceph_rpm_repos }}"
become: True
when: not cephadm_use_package_from_distribution
- name: Install cephadm
dnf:
name: "cephadm"
install_weak_deps: False
become: True