diff options
author | Gaëtan Duchaussois <gaetan.duchaussois@fretlink.com> | 2018-05-14 16:22:00 +0200 |
---|---|---|
committer | Gaëtan Duchaussois <gaetan.duchaussois@fretlink.com> | 2018-05-14 16:22:00 +0200 |
commit | fb5b452707a004967d7b27abc5d515a03278d446 (patch) | |
tree | c3e524077759cc2acb6d33bfb320a35c73f17a1f /tasks/kong-app.yml | |
parent | 03d5555b42e25dd6da9a0241e8a5f5937a9bbeb8 (diff) | |
download | ansible-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.yml | 4 |
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 }}" |