mirror of https://github.com/ceph/ceph-ansible.git
18 lines
537 B
YAML
18 lines
537 B
YAML
---
|
|
- name: configure red hat ceph community repository stable key
|
|
rpm_key:
|
|
key: "{{ ceph_stable_key }}"
|
|
state: present
|
|
register: result
|
|
until: result is succeeded
|
|
|
|
- name: configure red hat ceph stable community repository
|
|
yum_repository:
|
|
name: ceph_stable
|
|
description: Ceph Stable repo
|
|
gpgcheck: yes
|
|
state: present
|
|
gpgkey: "{{ ceph_stable_key }}"
|
|
baseurl: "{{ ceph_mirror }}/rpm-{{ ceph_stable_release }}/{{ ceph_stable_redhat_distro }}/$basearch"
|
|
register: result
|
|
until: result is succeeded |