mirror of https://github.com/ceph/ceph-ansible.git
allow customization of debian ceph stable repo url
parent
00f10c828a
commit
d23b27e6d7
|
@ -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 #
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue