From: Sébastien Han Date: Tue, 29 Aug 2017 15:21:37 +0000 (+0200) Subject: common: add mimic release facts X-Git-Tag: v3.0.0rc4^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1826%2Fhead;p=ceph-ansible.git common: add mimic release facts Signed-off-by: Sébastien Han --- diff --git a/group_vars/all.yml.sample b/group_vars/all.yml.sample index a0c3749d0..de1113419 100644 --- a/group_vars/all.yml.sample +++ b/group_vars/all.yml.sample @@ -127,6 +127,7 @@ dummy: # jewel: 10 # kraken: 11 # luminous: 12 +# mimic: 13 # 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://download.ceph.com/debian-{{ ceph_stable_release }}/dists/ diff --git a/group_vars/rhcs.yml.sample b/group_vars/rhcs.yml.sample index 1d1c384f7..b2c98d291 100644 --- a/group_vars/rhcs.yml.sample +++ b/group_vars/rhcs.yml.sample @@ -127,6 +127,7 @@ fetch_directory: ~/ceph-ansible-keys # jewel: 10 # kraken: 11 # luminous: 12 +# mimic: 13 # 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://download.ceph.com/debian-{{ ceph_stable_release }}/dists/ diff --git a/roles/ceph-common/tasks/release-rhcs.yml b/roles/ceph-common/tasks/release-rhcs.yml index f8301ca75..b6054e393 100644 --- a/roles/ceph-common/tasks/release-rhcs.yml +++ b/roles/ceph-common/tasks/release-rhcs.yml @@ -11,3 +11,6 @@ ceph_release: luminous when: ceph_version.split('.')[0] | version_compare('12', '==') +- set_fact: + ceph_release: mimic + when: ceph_version.split('.')[0] | version_compare('13', '==') diff --git a/roles/ceph-defaults/defaults/main.yml b/roles/ceph-defaults/defaults/main.yml index 9cb47f8b9..7e976f64f 100644 --- a/roles/ceph-defaults/defaults/main.yml +++ b/roles/ceph-defaults/defaults/main.yml @@ -119,6 +119,7 @@ ceph_release_num: jewel: 10 kraken: 11 luminous: 12 + mimic: 13 # 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://download.ceph.com/debian-{{ ceph_stable_release }}/dists/ diff --git a/roles/ceph-docker-common/tasks/release.yml b/roles/ceph-docker-common/tasks/release.yml index f8301ca75..b6054e393 100644 --- a/roles/ceph-docker-common/tasks/release.yml +++ b/roles/ceph-docker-common/tasks/release.yml @@ -11,3 +11,6 @@ ceph_release: luminous when: ceph_version.split('.')[0] | version_compare('12', '==') +- set_fact: + ceph_release: mimic + when: ceph_version.split('.')[0] | version_compare('13', '==')