From: Markos Chandras Date: Fri, 13 Oct 2017 09:18:27 +0000 (+0100) Subject: ceph-common: Don't check for ceph_stable_release for distro packages X-Git-Tag: v3.0.21 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=94116ea6700e3efc752e523f7b62298d086fddfb;p=ceph-ansible.git 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) --- 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: