From 574391609222c68802facc4eebb151d1a90b9ac8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Tue, 29 Aug 2017 17:21:37 +0200 Subject: [PATCH] common: add mimic release facts MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Sébastien Han --- group_vars/all.yml.sample | 1 + group_vars/rhcs.yml.sample | 1 + roles/ceph-common/tasks/release-rhcs.yml | 3 +++ roles/ceph-defaults/defaults/main.yml | 1 + roles/ceph-docker-common/tasks/release.yml | 3 +++ 5 files changed, 9 insertions(+) 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', '==') -- 2.39.5