--- # Copyright 2015, Serge van Ginderachter # # 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 src: gpg/ceph_com_keys_release state: "{{ (ceph_pkg_source == 'ceph') | ternary('present', 'absent') }}" - key: "/etc/pki/rpm-gpg/{{ ceph_centos_epel_key | basename }}" url: "{{ ceph_centos_epel_key }}" state: "{{ (ceph_pkg_source == 'ceph') | ternary('present', 'absent') }}" libvirt_packages: - libvirt-daemon-kvm - libvirt-client libvirt_service_name: libvirtd python_ceph_packages: - python3-cephfs - python3-rados - python3-rbd _ceph_repo_distro_suffix: rpm _ceph_repos: - name: ceph-client-deps baseurl: "{{ ceph_centos_epel_mirror ~ '/' ~ ansible_facts['distribution_major_version'] ~ '/Everything/' ~ ansible_facts['architecture'] }}" description: "Extra Packages for Enterprise Linux {{ ansible_facts['distribution_major_version'] }} - $basearch" gpgcheck: yes gpgkey: "file:///etc/pki/rpm-gpg/{{ ceph_centos_epel_key.split('/')[-1] }}" enabled: yes state: "{{ (ceph_pkg_source == 'ceph') | ternary('present', 'absent') }}" includepkgs: - fmt - leveldb - libarrow - libarrow-doc - libbabeltrace - liboath - 'lttng-ust*' - parquet-libs - re2 - thrift - userspace-rcu - name: ceph description: "Ceph packages for $basearch" file: ceph baseurl: "{{ ceph_repo_url }}/el$releasever/$basearch" gpgcheck: yes enabled: yes priority: 50 state: "{{ (ceph_pkg_source == 'ceph') | ternary('present', 'absent') }}" - name: ceph-noarch description: "Ceph noarch packages" file: ceph baseurl: "{{ ceph_repo_url }}/el$releasever/noarch" gpgcheck: yes enabled: yes priority: 50 state: "{{ (ceph_pkg_source == 'ceph') | ternary('present', 'absent') }}" # TODO mgariepy: add CentOS SIG ceph repo.