mirror of https://github.com/ceph/ceph-ansible.git
15 lines
414 B
YAML
15 lines
414 B
YAML
---
|
|
- name: Configure debian custom apt key
|
|
ansible.builtin.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
|
|
ansible.builtin.apt_repository:
|
|
repo: "deb {{ ceph_custom_repo }} {{ ansible_facts['distribution_release'] }} main"
|
|
state: present
|
|
update_cache: true
|