2017-08-03 21:30:25 +08:00
|
|
|
---
|
2024-02-14 18:14:02 +08:00
|
|
|
- name: Fetch ceph debian development repository
|
|
|
|
ansible.builtin.uri:
|
2021-03-27 03:14:15 +08:00
|
|
|
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'] }}"
|
2024-02-14 18:14:02 +08:00
|
|
|
return_content: true
|
2017-08-03 21:30:25 +08:00
|
|
|
register: ceph_dev_deb_repo
|
|
|
|
|
2024-02-14 18:14:02 +08:00
|
|
|
- name: Configure ceph debian development repository
|
|
|
|
ansible.builtin.apt_repository:
|
2017-08-03 21:30:25 +08:00
|
|
|
repo: "{{ ceph_dev_deb_repo.content }}"
|
|
|
|
state: present
|
2024-02-14 18:14:02 +08:00
|
|
|
update_cache: true
|