validate: do not validate ceph_repository if deploying containers

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1630975

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/3309/head
Andrew Schoen 2018-10-31 10:25:26 -05:00 committed by Sébastien Han
parent b848d2be4c
commit 9cd8ecf0cc
1 changed files with 1 additions and 1 deletions

View 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":