mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #113 from leseb/ceph-dev-version-support
Add developement packages supportpull/114/head
commit
dd6f05c989
|
@ -6,11 +6,15 @@
|
||||||
|
|
||||||
# ACTIVATE THE FSID VARIABLE FOR NON-VAGRANT DEPLOYMENT
|
# ACTIVATE THE FSID VARIABLE FOR NON-VAGRANT DEPLOYMENT
|
||||||
#fsid:
|
#fsid:
|
||||||
distro_release: "{{ facter_lsbdistcodename }}" # Seems to be not used.
|
|
||||||
apt_key: http://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
|
## Packages branch
|
||||||
ceph_release: firefly
|
ceph_stable: true # use ceph stable branch
|
||||||
|
ceph_stable_release: firefly # ceph stable release
|
||||||
redhat_distro: el6 # supported distros are el6, rhel6, f18, f19, opensuse12.2, sles11
|
redhat_distro: el6 # supported distros are el6, rhel6, f18, f19, opensuse12.2, sles11
|
||||||
|
|
||||||
|
ceph_dev: false # use ceph developement branch
|
||||||
|
ceph_dev_branch: master # developement branch you would like to use e.g: master, wip-hack
|
||||||
|
|
||||||
## Ceph options
|
## Ceph options
|
||||||
#
|
#
|
||||||
cephx: true
|
cephx: true
|
||||||
|
|
|
@ -0,0 +1,41 @@
|
||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
Version: GnuPG v1.4.10 (GNU/Linux)
|
||||||
|
|
||||||
|
mQGiBE1Rr28RBADCxdpLV3ea9ocpS/1+UCvHqD5xjmlw/9dmji4qrUX0+IhPMNuA
|
||||||
|
GBBt2CRaR7ygMF5S0NFXooegph0/+NT0KisLIuhUI3gde4SWb5jsb8hpGUse9MC5
|
||||||
|
DN39P46zZSpepIMlQuQUkge8W/H2qBu10RcwQhs7o2fZ1zK9F3MmRCkBqwCggpap
|
||||||
|
GsOgE2IlWjcztmE6xcPO0wED/R4BxTaQM+jxIjylnHgn9PYy6795yIc/ZoYjNnIh
|
||||||
|
QyjqbLWnyzeTmjPBwcXNljKqzEoA/Cjb2gClxHX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qnBW
|
||||||
|
rr0GKehu9CGISQQYEQIACQIbDAUCURSbegAKCRBurq4iA8OVGv9TAJ9EeXVrRS3p
|
||||||
|
PZkT1R21FszUc9LvmgCeMduh5IPGFWSx9MjUc7/j1QKYm7g=
|
||||||
|
=per8
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
|
@ -21,11 +21,21 @@
|
||||||
- ntp
|
- ntp
|
||||||
- hdparm
|
- hdparm
|
||||||
|
|
||||||
- name: Install the Ceph key
|
- name: Install the Ceph repository stable key
|
||||||
apt_key: data="{{ lookup('file', 'cephrelease.asc') }}" state=present
|
apt_key: data="{{ lookup('file', 'cephstable.asc') }}" state=present
|
||||||
|
when: ceph_stable
|
||||||
|
|
||||||
- name: Add Ceph repository
|
- name: Install the Ceph developement repository key
|
||||||
apt_repository: repo='deb http://ceph.com/debian-{{ ceph_release }}/ {{ ansible_lsb.codename }} main' state=present
|
apt_key: data="{{ lookup('file', 'cephdev.asc') }}" state=present
|
||||||
|
when: ceph_dev
|
||||||
|
|
||||||
|
- name: Add Ceph stable repository
|
||||||
|
apt_repository: repo='deb http://ceph.com/debian-{{ ceph_stable_release }}/ {{ ansible_lsb.codename }} main' state=present
|
||||||
|
when: ceph_stable
|
||||||
|
|
||||||
|
- name: Add Ceph development repository
|
||||||
|
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
|
||||||
|
when: ceph_dev
|
||||||
|
|
||||||
- name: Install Ceph
|
- name: Install Ceph
|
||||||
apt: pkg={{ item }} state=latest
|
apt: pkg={{ item }} state=latest
|
||||||
|
|
|
@ -21,11 +21,21 @@
|
||||||
- ntp
|
- ntp
|
||||||
- hdparm
|
- hdparm
|
||||||
|
|
||||||
- name: Install the Ceph key
|
- name: Install the Ceph stable repository key
|
||||||
rpm_key: key=cephrelease.asc state=present
|
rpm_key: key=cephstable.asc state=present
|
||||||
|
when: ceph_stable
|
||||||
|
|
||||||
- name: Add Ceph repository
|
- name: Install the Ceph developement repository key
|
||||||
command: rpm -U http://ceph.com/rpm-{{ ceph_release }}/{{ redhat_distro }}/noarch/ceph-release-1-0.el6.noarch.rpm creates=/etc/yum.repos.d/ceph.repo
|
rpm_key: key=cephdev.asc state=present
|
||||||
|
when: ceph_dev
|
||||||
|
|
||||||
|
- name: Add Ceph stable repository
|
||||||
|
command: rpm -U http://ceph.com/rpm-{{ ceph_stable_release }}/{{ redhat_distro }}/noarch/ceph-release-1-0.el6.noarch.rpm creates=/etc/yum.repos.d/cephstable.repo
|
||||||
|
when: ceph_stable
|
||||||
|
|
||||||
|
- name: Add Ceph development repository
|
||||||
|
command: rpm -U http://gitbuilder.ceph.com/ceph-rpm-{{ ansible_lsb.codename }}-x86_64-basic/ref/{{ ceph_dev_branch }}/noarch/ceph-release-1-0.el6.noarch.rpm {{ ansible_lsb.codename }} main creates=/etc/yum.repos.d/cephdev.repo
|
||||||
|
when: ceph_dev
|
||||||
|
|
||||||
- name: Install Ceph
|
- name: Install Ceph
|
||||||
yum: name=ceph state=latest
|
yum: name=ceph state=latest
|
||||||
|
|
Loading…
Reference in New Issue