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