]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
validate: do not validate ceph_repository if deploying containers
authorAndrew Schoen <aschoen@redhat.com>
Wed, 31 Oct 2018 15:25:26 +0000 (10:25 -0500)
committerSébastien Han <seb@redhat.com>
Thu, 8 Nov 2018 16:59:07 +0000 (17:59 +0100)
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1630975
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
plugins/actions/validate.py

index d48d581b12833893ac2e09a8d935d3c9311339c3..620358eae9e5720b6ac99a0a2f5da52f865c4735 100644 (file)
@@ -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":