From: Guillaume Abrioux Date: Thu, 4 Apr 2024 08:21:56 +0000 (+0200) Subject: common: install python3-packaging on centos el8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ae24dbc863d454241ef7e7eb16e7c5522d87cc34;p=ceph-ansible.git common: install python3-packaging on centos el8 ceph-volume has a dependency on `python3-packaging` which is available in PowerTools repo. Signed-off-by: Guillaume Abrioux (cherry picked from commit 8ebff2124db1e670099b7e6d141d6c3178c3c181) --- diff --git a/roles/ceph-common/tasks/installs/configure_redhat_repository_installation.yml b/roles/ceph-common/tasks/installs/configure_redhat_repository_installation.yml index 7ad607f52..43d0dd6b9 100644 --- a/roles/ceph-common/tasks/installs/configure_redhat_repository_installation.yml +++ b/roles/ceph-common/tasks/installs/configure_redhat_repository_installation.yml @@ -8,6 +8,13 @@ when: - ansible_facts['distribution'] == 'Rocky' +- name: Install python3-packaging + ansible.builtin.yum: + name: python3-packaging + enablerepo: powertools + state: present + when: ansible_facts['distribution_major_version'] | int < 9 + - name: Include redhat_community_repository.yml ansible.builtin.include_tasks: redhat_community_repository.yml when: ceph_repository == 'community'