SUSE: Fix ceph packages for Leap 15

Ceph is python3-only in Leap 15 so we need to adjust the package names.

Change-Id: Ica80f6e69764ef46c4158e0c372e9a435ad49e50
This commit is contained in:
Markos Chandras 2018-11-05 11:48:28 +00:00
parent 54f74e29a9
commit 9bf4a212ff
1 changed files with 4 additions and 4 deletions

View File

@ -17,10 +17,10 @@ libvirt_package: qemu-kvm
libvirt_service_name: libvirtd
python_ceph_packages:
- python-cephfs
- python-rados
- python-rbd
- python-rgw
- "{{ (ansible_distribution_version is version ('42', '>=')) | ternary('python-cephfs', 'python3-cephfs') }}"
- "{{ (ansible_distribution_version is version ('42', '>=')) | ternary('python-rados', 'python3-rados') }}"
- "{{ (ansible_distribution_version is version ('42', '>=')) | ternary('python-rbd', 'python3-rbd') }}"
- "{{ (ansible_distribution_version is version ('42', '>=')) | ternary('python-rgw', 'python3-rgw') }}"
# NOTE(hwoarang) Upstream does not provide openSUSE packages
# so we always set ceph_pkg_source to 'distro' for openSUSE