diff options
author | Michal Ptacek <m.ptacek@partner.samsung.com> | 2019-01-17 19:39:40 +0000 |
---|---|---|
committer | Michal Ptacek <m.ptacek@partner.samsung.com> | 2019-01-17 19:43:10 +0000 |
commit | c4477cc749a71fea282f0ffe4630bc178898c4b7 (patch) | |
tree | 5bf79621290a03e144ac051ecbf28ea0cc1c421d /ansible | |
parent | b5cd82b2ec6f4fe69eae27f70eb3b5eda52da368 (diff) |
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 <m.ptacek@partner.samsung.com>
Issue-ID: OOM-1587
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/infrastructure.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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 |