]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
allow customization of debian ceph stable repo url
authorLogan V <logan2211@gmail.com>
Mon, 11 Jan 2016 18:13:09 +0000 (12:13 -0600)
committerLogan V <logan2211@gmail.com>
Mon, 11 Jan 2016 18:13:09 +0000 (12:13 -0600)
roles/ceph-common/defaults/main.yml
roles/ceph-common/tasks/installs/debian_ceph_repository.yml

index da8c235c0880ca76e3e78c76d79af09a10ab0e13..a560fb2353561833919e6ee8083e1efdd69149c8 100644 (file)
@@ -45,6 +45,7 @@ ceph_use_distro_backports: false # DEBIAN ONLY
 ceph_stable: false # use ceph stable branch\r
 ceph_stable_key: https://download.ceph.com/keys/release.asc\r
 ceph_stable_release: infernalis # ceph stable release\r
+ceph_stable_repo: "http://ceph.com/debian-{{ ceph_stable_release }}"\r
 \r
 ###################\r
 # Stable Releases #\r
index cfbba7fda1b51862b8c1c92b8fe509ddd01f8882..1e4515d9146499ea55bd79ec768648180cda5851 100644 (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