openstack-ansible-ceph_client/vars/suse.yml

28 lines
1.2 KiB
YAML

---
# Copyright 2017, SUSE LINUX GmbH.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
libvirt_package: qemu-kvm
libvirt_service_name: libvirtd
python_ceph_packages:
- "{{ (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
ceph_pkg_source: 'distro'