openstack-ansible-ceph_client/vars/debian.yml
Dmitriy Rabotyagov 7f73f730ff Map all relevant architectures for deb822 repository setup
At the moment we fixup only x86_64 arch while there way more arches
in the wild. So it's worth to have a mapping for architectures in place
rather then maintain quite complex replaces.

Related-Bug: #2081764
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/930272
Change-Id: Ia695be454060cfcce83e072828db71331c8d6928
2024-09-24 11:41:25 +02:00

41 lines
1.2 KiB
YAML

---
# Copyright 2016 IBM Corp
# Copyright 2015, Serge van Ginderachter <serge@vanginderachter.be>
#
# 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.
## APT Cache Options
cache_timeout: 600
libvirt_packages:
- libvirt-daemon-system
libvirt_service_name: libvirtd
python_ceph_packages:
- python3-ceph
- python3-cephfs
- python3-rados
- python3-rbd
_ceph_repo_distro_suffix: debian
_ceph_repos:
- name: "ceph"
suites: "{{ ansible_facts['distribution_release'] }}"
uris: "{{ ceph_repo_url }}"
signed_by: "{{ lookup('file', 'gpg/460f3994') }}"
components: main
architectures: "{{ ceph_architecture_mapping.get(ansible_facts['architecture']) }}"
state: "{{ (ceph_pkg_source == 'ceph') | ternary('present', 'absent') }}"