Merge pull request #476 from Logan2211/master

allow customization of debian ceph stable repo url
pull/477/merge
Leseb 2016-01-12 14:11:25 +01:00
commit 013f0c372a
3 changed files with 3 additions and 1 deletions

View File

@ -46,6 +46,7 @@ dummy:
#ceph_stable: false # use ceph stable branch
#ceph_stable_key: https://download.ceph.com/keys/release.asc
#ceph_stable_release: infernalis # ceph stable release
#ceph_stable_repo: "http://ceph.com/debian-{{ ceph_stable_release }}"
###################
# Stable Releases #

View File

@ -45,6 +45,7 @@ ceph_use_distro_backports: false # DEBIAN ONLY
ceph_stable: false # use ceph stable branch
ceph_stable_key: https://download.ceph.com/keys/release.asc
ceph_stable_release: infernalis # ceph stable release
ceph_stable_repo: "http://ceph.com/debian-{{ ceph_stable_release }}"
###################
# Stable Releases #

View File

@ -20,7 +20,7 @@
- name: add ceph stable repository
apt_repository:
repo: "deb http://ceph.com/debian-{{ ceph_stable_release }}/ {{ ceph_stable_distro_source | default(ansible_lsb.codename) }} main"
repo: "deb {{ ceph_stable_repo }} {{ ceph_stable_distro_source | default(ansible_lsb.codename) }} main"
state: present
changed_when: false
when: ceph_stable