mirror of https://github.com/ceph/ceph-ansible.git
17 lines
389 B
YAML
17 lines
389 B
YAML
---
|
|
- name: Configure red hat custom rpm key
|
|
ansible.builtin.rpm_key:
|
|
key: "{{ ceph_custom_key }}"
|
|
state: present
|
|
register: result
|
|
until: result is succeeded
|
|
when: ceph_custom_key is defined
|
|
|
|
- name: Configure red hat custom repository
|
|
ansible.builtin.get_url:
|
|
url: "{{ ceph_custom_repo }}"
|
|
dest: /etc/yum.repos.d
|
|
owner: root
|
|
group: root
|
|
mode: "0644"
|