From 6a79870d62565eae9ae34a7e5d386941fc8ba590 Mon Sep 17 00:00:00 2001 From: Justin Riley Date: Thu, 20 Dec 2018 21:33:05 -0500 Subject: [PATCH] add 'custom' as valid ceph_repository value This is documented as valid: https://github.com/ceph/ceph-ansible/blob/561746f75e3913b30e6ae3f14768ebc8a516bf66/group_vars/all.yml.sample#L245 Signed-off-by: Justin Riley --- plugins/actions/validate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/actions/validate.py b/plugins/actions/validate.py index 90f47c18e..e32c926ab 100644 --- a/plugins/actions/validate.py +++ b/plugins/actions/validate.py @@ -164,7 +164,7 @@ def ceph_origin_choices(value): def ceph_repository_choices(value): - assert value in ['community', 'rhcs', 'dev'], "ceph_repository must be either 'community', 'rhcs' or 'dev'" + assert value in ['community', 'rhcs', 'dev', 'custom'], "ceph_repository must be either 'community', 'rhcs', 'dev', or 'custom'" def ceph_repository_type_choices(value): -- 2.39.5