openstack-ansible-ceph_client/vars/redhat.yml
Jonathan Rosser 8e7d64641c Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654

Change-Id: I46311bb1fafb9d5c401c4899aab64d562117d658
2021-02-23 19:35:36 +00:00

41 lines
1.3 KiB
YAML

---
# 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.
# Ceph GPG Keys
ceph_gpg_keys:
# download.ceph.com/keys/release.asc
- key: /etc/pki/rpm-gpg/ceph_com_keys_release
# EPEL GPG Keys
epel_gpg_keys:
# Extra Packages for Enterprise Linux
- key: "/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-{{ ansible_facts['distribution_major_version'] }}"
libvirt_packages:
- libvirt-daemon-kvm
- libvirt-client
libvirt_service_name: libvirtd
python_ceph_packages:
- python3-cephfs
- python3-rados
- python3-rbd
ceph_repo_url_region: "download" # see here for other mirros http://docs.ceph.com/docs/master/install/mirrors/
ceph_yum_repo_url: "https://{{ ceph_repo_url_region }}.ceph.com/rpm-{{ ceph_stable_release }}/el{{ ansible_facts['distribution_major_version'] }}"
# TODO mgariepy: add CentOS SIG ceph repo.