From 94116ea6700e3efc752e523f7b62298d086fddfb Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Fri, 13 Oct 2017 10:18:27 +0100 Subject: [PATCH] ceph-common: Don't check for ceph_stable_release for distro packages When we consume the distribution packages, we don't have the choise on which version to install, so we shouldn't require that variable to be set. Distributions normally provide only one version of Ceph in the official repositories so we get whatever they provide. Signed-off-by: Markos Chandras (cherry picked from commit dd6ee72547a4eca22c8c9b8691b910c2cfa821d3) --- roles/ceph-common/tasks/checks/check_mandatory_vars.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/ceph-common/tasks/checks/check_mandatory_vars.yml b/roles/ceph-common/tasks/checks/check_mandatory_vars.yml index 239e6c1c9..dce082c81 100644 --- a/roles/ceph-common/tasks/checks/check_mandatory_vars.yml +++ b/roles/ceph-common/tasks/checks/check_mandatory_vars.yml @@ -27,6 +27,7 @@ fail: msg: "make sure ceph_stable_release ( {{ ceph_stable_release }} ) is set to a release name (e.g: luminous), http://docs.ceph.com/docs/master/release-notes/" when: + - ceph_origin != 'distro' - ceph_stable_release == 'dummy' - ceph_repository not in ['rhcs', 'dev'] tags: -- 2.47.3