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

15 lines
372 B
YAML

---
- name: configure debian custom apt key
apt_key:
url: "{{ ceph_custom_key }}"
state: present
register: result
until: result is succeeded
when: ceph_custom_key is defined
- name: configure debian custom repository
apt_repository:
repo: "deb {{ ceph_custom_repo }} {{ ansible_distribution_release }} main"
state: present
update_cache: yes