From: Michal Ptacek Date: Thu, 17 Jan 2019 19:39:40 +0000 (+0000) Subject: Handle empty runtime_images X-Git-Tag: 6.0.0-ONAP~341^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F52%2F75952%2F1;p=oom%2Foffline-installer.git Handle empty runtime_images If there is no demand for docker images to be inserted into nexus during runtime, runtime_images might be empty and this will cause unhandled error with trying to insert undefined images Change-Id: I77147b64a3d288922eec5db7e7ce422ba2ed8c12 Signed-off-by: Michal Ptacek Issue-ID: OOM-1587 --- diff --git a/ansible/infrastructure.yml b/ansible/infrastructure.yml index 709a351e..08667330 100644 --- a/ansible/infrastructure.yml +++ b/ansible/infrastructure.yml @@ -61,7 +61,7 @@ - role: nexus vars: phase: runtime-populate - when: runtime_images is defined + when: runtime_images is defined and runtime_images is not none - name: Setup base for Kubernetes nodes hosts: kubernetes