2017-08-03 21:30:25 +08:00
|
|
|
---
|
2024-02-14 18:14:02 +08:00
|
|
|
- name: Configure debian custom apt key
|
|
|
|
ansible.builtin.apt_key:
|
2019-08-26 02:47:32 +08:00
|
|
|
url: "{{ ceph_custom_key }}"
|
|
|
|
state: present
|
|
|
|
register: result
|
|
|
|
until: result is succeeded
|
|
|
|
when: ceph_custom_key is defined
|
|
|
|
|
2024-02-14 18:14:02 +08:00
|
|
|
- name: Configure debian custom repository
|
|
|
|
ansible.builtin.apt_repository:
|
2021-03-03 22:43:50 +08:00
|
|
|
repo: "deb {{ ceph_custom_repo }} {{ ansible_facts['distribution_release'] }} main"
|
2017-08-03 21:30:25 +08:00
|
|
|
state: present
|
2024-02-14 18:14:02 +08:00
|
|
|
update_cache: true
|