+++ /dev/null
----
-- name: install dnf-plugins-core
- package:
- name: dnf-plugins-core
- register: result
- until: result is succeeded
- tags: with_pkg
-
-- name: enable ceph-el8 copr
- command: dnf copr enable -y ktdreyer/ceph-el8
- args:
- creates: /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:ktdreyer:ceph-el8.repo
- warn: false
- register: result
- until: result is succeeded
-
-- name: enable ceph lab extras repository
- yum_repository:
- name: lab-extras
- baseurl: http://apt-mirror.front.sepia.ceph.com/lab-extras/8/
- description: Sepia Lab Extras repository
- enabled: true
- gpgcheck: false
\ No newline at end of file
---
-- name: include configure_el8_dep.yml
- include_tasks: configure_el8_dep.yml
- when:
- - ceph_origin == 'repository'
- - ansible_distribution_major_version | int == 8
-
- name: include configure_redhat_repository_installation.yml
include_tasks: configure_redhat_repository_installation.yml
when: ceph_origin == 'repository'