2017-08-03 21:30:25 +08:00
|
|
|
---
|
2019-08-26 02:47:32 +08:00
|
|
|
- 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
|
|
|
|
|
2017-08-03 21:30:25 +08:00
|
|
|
- name: configure debian custom repository
|
|
|
|
apt_repository:
|
2019-06-21 02:04:24 +08:00
|
|
|
repo: "deb {{ ceph_custom_repo }} {{ ansible_distribution_release }} main"
|
2017-08-03 21:30:25 +08:00
|
|
|
state: present
|
2019-08-26 02:47:32 +08:00
|
|
|
update_cache: yes
|