65a16a08e2
Change-Id: I81a4f8f8b8faa7559740531bb16d8aec7fc23f9b
17 lines
391 B
YAML
17 lines
391 B
YAML
---
|
|
- name: Ensure yum repos directory exists
|
|
file:
|
|
path: /etc/yum.repos.d/
|
|
state: directory
|
|
recurse: yes
|
|
become: True
|
|
|
|
- name: Enable Ceph base yum repository
|
|
yum_repository:
|
|
name: "{{ item.shortname }}"
|
|
description: "{{ item.name }}"
|
|
baseurl: "{{ item.url }}"
|
|
gpgkey: "{{ cephadm_ceph_rpm_gpg_key }}"
|
|
loop: "{{ cephadm_ceph_rpm_repos }}"
|
|
become: True
|