2015-08-27 17:17:11 +08:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: install the ceph repository stable key
|
2015-09-04 00:18:53 +08:00
|
|
|
apt_key:
|
|
|
|
data: "{{ lookup('file', '../../files/cephstable.asc') }}"
|
|
|
|
state: present
|
2015-08-27 17:17:11 +08:00
|
|
|
when: ceph_stable
|
|
|
|
|
|
|
|
- name: install the ceph development repository key
|
2015-09-04 00:18:53 +08:00
|
|
|
apt_key:
|
|
|
|
data: "{{ lookup('file', '../../files/cephdev.asc') }}"
|
|
|
|
state: present
|
2015-08-27 17:17:11 +08:00
|
|
|
when: ceph_dev
|
|
|
|
|
|
|
|
- name: install intank ceph enterprise repository key
|
2015-09-04 00:18:53 +08:00
|
|
|
apt_key:
|
|
|
|
data: "{{ lookup('file', '../../files/cephstableice.asc') }}"
|
|
|
|
state: present
|
2015-08-27 17:17:11 +08:00
|
|
|
when: ceph_stable_ice
|
|
|
|
|
|
|
|
- name: add ceph stable repository
|
2015-09-04 00:18:53 +08:00
|
|
|
apt_repository:
|
2016-01-12 02:13:09 +08:00
|
|
|
repo: "deb {{ ceph_stable_repo }} {{ ceph_stable_distro_source | default(ansible_lsb.codename) }} main"
|
2015-09-04 00:18:53 +08:00
|
|
|
state: present
|
2015-08-27 17:17:11 +08:00
|
|
|
changed_when: false
|
|
|
|
when: ceph_stable
|
|
|
|
|
|
|
|
- name: add ceph development repository
|
2015-09-04 00:18:53 +08:00
|
|
|
apt_repository:
|
|
|
|
repo: "deb http://gitbuilder.ceph.com/ceph-deb-{{ ansible_lsb.codename }}-x86_64-basic/ref/{{ ceph_dev_branch }} {{ ansible_lsb.codename }} main"
|
|
|
|
state: present
|
2015-08-27 17:17:11 +08:00
|
|
|
changed_when: false
|
|
|
|
when: ceph_dev
|
|
|
|
|
|
|
|
- name: add inktank ceph enterprise repository
|
2015-09-04 00:18:53 +08:00
|
|
|
apt_repository:
|
|
|
|
repo: "deb file://{{ ceph_stable_ice_temp_path }} {{ ansible_lsb.codename }} main"
|
|
|
|
state: present
|
2015-08-27 17:17:11 +08:00
|
|
|
changed_when: false
|
|
|
|
when: ceph_stable_ice
|