From fb5b452707a004967d7b27abc5d515a03278d446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Duchaussois?= Date: Mon, 14 May 2018 16:22:00 +0200 Subject: add support for upstream with multiple targets --- tasks/kong-app.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tasks/kong-app.yml') diff --git a/tasks/kong-app.yml b/tasks/kong-app.yml index bff2f46..975e2cd 100644 --- a/tasks/kong-app.yml +++ b/tasks/kong-app.yml @@ -1,3 +1,7 @@ +- name: Upstream Creation + import_tasks: upstream.yml + when: service.upstream is defined + - name: Check if service exists uri: url: "{{ server.kong_app_admin_url }}/services/{{ service.name }}" -- cgit v1.2.3