ceph-ansible/roles/ceph-common/tasks/installs/redhat_custom_repository.yml

16 lines
340 B
YAML
Raw Normal View History

---
- name: configure red hat custom rpm key
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
get_url:
url: "{{ ceph_custom_repo }}"
dest: /etc/yum.repos.d
owner: root
group: root