2017-08-03 21:30:25 +08:00
|
|
|
---
|
|
|
|
- name: configure debian ceph community repository stable key
|
|
|
|
apt_key:
|
|
|
|
data: "{{ lookup('file', role_path+'/files/cephstable.asc') }}"
|
|
|
|
state: present
|
2018-12-20 17:00:26 +08:00
|
|
|
register: result
|
|
|
|
until: result is succeeded
|
2017-08-03 21:30:25 +08:00
|
|
|
|
|
|
|
- name: configure debian ceph stable community repository
|
|
|
|
apt_repository:
|
|
|
|
repo: "deb {{ ceph_stable_repo }} {{ ceph_stable_distro_source | default(ansible_lsb.codename) }} main"
|
|
|
|
state: present
|
2018-11-02 02:48:06 +08:00
|
|
|
update_cache: yes
|