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>
(cherry picked from commit 9cd8ecf0cc)
pull/3313/head
Andrew Schoen 2018-10-31 10:25:26 -05:00 committed by mergify[bot]
parent d5409109fb
commit ee883aa9f2
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":