allow customization of debian ceph stable repo url

pull/476/head
Logan V 2016-01-11 12:13:09 -06:00
parent 00f10c828a
commit d23b27e6d7
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -20,7 +20,7 @@
- name: add ceph stable repository - name: add ceph stable repository
apt_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 state: present
changed_when: false changed_when: false
when: ceph_stable when: ceph_stable