]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-common: Don't check for ceph_stable_release for distro packages v3.0.21
authorMarkos Chandras <mchandras@suse.de>
Fri, 13 Oct 2017 09:18:27 +0000 (10:18 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 26 Jan 2018 09:31:00 +0000 (10:31 +0100)
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 <mchandras@suse.de>
(cherry picked from commit dd6ee72547a4eca22c8c9b8691b910c2cfa821d3)

roles/ceph-common/tasks/checks/check_mandatory_vars.yml

index 239e6c1c9918ab814bdd2c3264c1290a0d12ffee..dce082c81e50de623b13fdc6f9aaa17b762027c4 100644 (file)
@@ -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: