From 70b321f34c9d3d171a13c26199baf7eb43601fd9 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 25 Sep 2017 15:28:27 -0600 Subject: [PATCH] ceph-common: Fix logic for ceph_repository_type It's failing if a *valid* choice is specified. Signed-off-by: Zack Cerza --- 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 3525e0f34..fc5143c67 100644 --- a/roles/ceph-common/tasks/checks/check_mandatory_vars.yml +++ b/roles/ceph-common/tasks/checks/check_mandatory_vars.yml @@ -48,7 +48,7 @@ when: - ceph_origin == 'repository' - ceph_repository == 'rhcs' - - ceph_repository_type in valid_ceph_repository_type + - ceph_repository_type not in valid_ceph_repository_type tags: - package-install