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

13 lines
497 B
YAML
Raw Normal View History

---
- name: fetch ceph debian development repository
uri:
url: "https://shaman.ceph.com/api/repos/ceph/{{ ceph_dev_branch }}/{{ ceph_dev_sha1 }}/{{ ansible_facts['distribution'] | lower }}/{{ ansible_facts['distribution_release'] }}/repo?arch={{ ansible_facts['architecture'] }}"
return_content: yes
register: ceph_dev_deb_repo
- name: configure ceph debian development repository
apt_repository:
repo: "{{ ceph_dev_deb_repo.content }}"
state: present
update_cache: yes