mirror of https://github.com/ceph/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 <gabrioux@ibm.com>
(cherry picked from commit 8ebff2124d
)
pull/7541/head
parent
312e824f63
commit
ae24dbc863
|
@ -8,6 +8,13 @@
|
||||||
when:
|
when:
|
||||||
- ansible_facts['distribution'] == 'Rocky'
|
- 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
|
- name: Include redhat_community_repository.yml
|
||||||
ansible.builtin.include_tasks: redhat_community_repository.yml
|
ansible.builtin.include_tasks: redhat_community_repository.yml
|
||||||
when: ceph_repository == 'community'
|
when: ceph_repository == 'community'
|
||||||
|
|
Loading…
Reference in New Issue