2017-08-03 21:30:25 +08:00
|
|
|
---
|
2019-05-17 22:31:46 +08:00
|
|
|
- name: install dependencies for apt modules
|
|
|
|
package:
|
2019-05-21 21:21:16 +08:00
|
|
|
name: ['apt-transport-https', 'ca-certificates', 'gnupg', 'software-properties-common']
|
2019-05-17 22:31:46 +08:00
|
|
|
update_cache: yes
|
|
|
|
register: result
|
|
|
|
until: result is succeeded
|
|
|
|
|
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:
|
2019-06-21 02:04:24 +08:00
|
|
|
repo: "deb {{ ceph_stable_repo }} {{ ceph_stable_distro_source | default(ansible_distribution_release) }} main"
|
2017-08-03 21:30:25 +08:00
|
|
|
state: present
|
2018-11-02 02:48:06 +08:00
|
|
|
update_cache: yes
|