aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/kong-app.yml
diff options
context:
space:
mode:
authorGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>2018-05-14 16:22:00 +0200
committerGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>2018-05-14 16:22:00 +0200
commitfb5b452707a004967d7b27abc5d515a03278d446 (patch)
treec3e524077759cc2acb6d33bfb320a35c73f17a1f /tasks/kong-app.yml
parent03d5555b42e25dd6da9a0241e8a5f5937a9bbeb8 (diff)
downloadansible-kong-app-fb5b452707a004967d7b27abc5d515a03278d446.tar.gz
ansible-kong-app-fb5b452707a004967d7b27abc5d515a03278d446.tar.zst
ansible-kong-app-fb5b452707a004967d7b27abc5d515a03278d446.zip
add support for upstream with multiple targets
Diffstat (limited to 'tasks/kong-app.yml')
-rw-r--r--tasks/kong-app.yml4
1 files changed, 4 insertions, 0 deletions
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 @@
1- name: Upstream Creation
2 import_tasks: upstream.yml
3 when: service.upstream is defined
4
1- name: Check if service exists 5- name: Check if service exists
2 uri: 6 uri:
3 url: "{{ server.kong_app_admin_url }}/services/{{ service.name }}" 7 url: "{{ server.kong_app_admin_url }}/services/{{ service.name }}"