#ceph_stable_key: https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
#ceph_stable_release: hammer # ceph stable release
+# Use the option below to specify your applicable package tree, eg. when using non-LTS Ubuntu versions
+# # for a list of available Debian distributions, visit http://ceph.com/debian-{{ ceph_stable_release }}/dists/
+# for more info read: https://github.com/ceph/ceph-ansible/issues/305
+#ceph_stable_distro_source:
+
# This option is needed for _both_ stable and dev version, so please always fill the right version
# # for supported distros, see http://ceph.com/rpm-{{ ceph_stable_release }}/
#ceph_stable_redhat_distro: el7
ceph_stable_key: https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc\r
ceph_stable_release: hammer # ceph stable release\r
\r
+# Use the option below to specify your applicable package tree, eg. when using non-LTS Ubuntu versions\r
+# # for a list of available Debian distributions, visit http://ceph.com/debian-{{ ceph_stable_release }}/dists/\r
+# for more info read: https://github.com/ceph/ceph-ansible/issues/305\r
+#ceph_stable_distro_source:\r
+\r
# This option is needed for _both_ stable and dev version, so please always fill the right version\r
# # for supported distros, see http://ceph.com/rpm-{{ ceph_stable_release }}/\r
ceph_stable_redhat_distro: el7\r
- name: add Ceph stable repository
apt_repository: >
- repo="deb http://ceph.com/debian-{{ ceph_stable_release }}/ {{ ansible_lsb.codename }} main"
+ repo="deb http://ceph.com/debian-{{ ceph_stable_release }}/ {{ ceph_stable_distro_source | default(ansible_lsb.codename) }} main"
state=present
changed_when: false
when: ceph_stable