From d23b27e6d76e28ea67be32f086bb24e55c9eacb9 Mon Sep 17 00:00:00 2001 From: Logan V Date: Mon, 11 Jan 2016 12:13:09 -0600 Subject: [PATCH] allow customization of debian ceph stable repo url --- roles/ceph-common/defaults/main.yml | 1 + roles/ceph-common/tasks/installs/debian_ceph_repository.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/ceph-common/defaults/main.yml b/roles/ceph-common/defaults/main.yml index da8c235c0..a560fb235 100644 --- a/roles/ceph-common/defaults/main.yml +++ b/roles/ceph-common/defaults/main.yml @@ -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 # diff --git a/roles/ceph-common/tasks/installs/debian_ceph_repository.yml b/roles/ceph-common/tasks/installs/debian_ceph_repository.yml index cfbba7fda..1e4515d91 100644 --- a/roles/ceph-common/tasks/installs/debian_ceph_repository.yml +++ b/roles/ceph-common/tasks/installs/debian_ceph_repository.yml @@ -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 -- 2.47.3