From 6565c382384809d253356ea623cd7177cb77373d Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Wed, 30 Aug 2017 13:33:00 -0400 Subject: [PATCH] common: ceph_repository should not be rhcs or dev Signed-off-by: Alfredo Deza --- roles/ceph-common/tasks/checks/check_mandatory_vars.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-common/tasks/checks/check_mandatory_vars.yml b/roles/ceph-common/tasks/checks/check_mandatory_vars.yml index 4b3922571..6296e705d 100644 --- a/roles/ceph-common/tasks/checks/check_mandatory_vars.yml +++ b/roles/ceph-common/tasks/checks/check_mandatory_vars.yml @@ -28,7 +28,7 @@ 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_stable_release == 'dummy' - - (ceph_repository != 'rhcs' or ceph_repository != 'dev') + - ceph_repository not in ['rhcs', 'dev'] tags: - package-install