From: Andrew Schoen Date: Wed, 31 Oct 2018 15:25:26 +0000 (-0500) Subject: validate: do not validate ceph_repository if deploying containers X-Git-Tag: v4.0.0beta1~242 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9cd8ecf0cc74e5edfe54cbb5cebf1d72ca3bab8a;p=ceph-ansible.git validate: do not validate ceph_repository if deploying containers Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1630975 Signed-off-by: Andrew Schoen --- diff --git a/plugins/actions/validate.py b/plugins/actions/validate.py index d48d581b1..620358eae 100644 --- a/plugins/actions/validate.py +++ b/plugins/actions/validate.py @@ -48,7 +48,7 @@ class ActionModule(ActionBase): notario_store["containerized_deployment"] = host_vars["containerized_deployment"] notario.validate(host_vars, install_options, defined_keys=True) - if host_vars["ceph_origin"] == "repository": + if host_vars["ceph_origin"] == "repository" and not host_vars["containerized_deployment"]: notario.validate(host_vars, ceph_origin_repository, defined_keys=True) if host_vars["ceph_repository"] == "community":