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

15 lines
381 B
YAML
Raw Normal View History

---
- 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_facts['distribution_release'] }} main"
state: present
update_cache: yes