From c4477cc749a71fea282f0ffe4630bc178898c4b7 Mon Sep 17 00:00:00 2001 From: Michal Ptacek Date: Thu, 17 Jan 2019 19:39:40 +0000 Subject: 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 --- ansible/infrastructure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ansible') 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 -- cgit 1.2.3-korg