aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authorGaƫtan <36162164+gaetanfl@users.noreply.github.com>2021-12-10 17:26:55 +0100
committerGitHub <noreply@github.com>2021-12-10 17:26:55 +0100
commit05ca2d729b48f99be643ae3665e05fd07d2b8d78 (patch)
tree8548fd182146fbe89dc94c9dd552a6621fc9fa13 /tasks
parente2895c0c8c400094999840bc98753df82446db4a (diff)
parent565594c152647b9aef789c0648f5fe7d9c35329a (diff)
downloadansible-kong-app-master.tar.gz
ansible-kong-app-master.tar.zst
ansible-kong-app-master.zip
Merge pull request #27 from gaetanfl/fix_upstream_creation_return_codeHEADv0.34.0master
upstream: allow 200 as a valid return code when adding target
Diffstat (limited to 'tasks')
-rw-r--r--tasks/upstream.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/upstream.yml b/tasks/upstream.yml
index 47f2e89..6aab617 100644
--- a/tasks/upstream.yml
+++ b/tasks/upstream.yml
@@ -29,7 +29,7 @@
29 headers: 29 headers:
30 apikey: "{{ server.kong_app_admin_apikey }}" 30 apikey: "{{ server.kong_app_admin_apikey }}"
31 Content-Type: application/json 31 Content-Type: application/json
32 status_code: 201 32 status_code: 200,201
33 with_items: "{{ upstream.targets | default([]) }}" 33 with_items: "{{ upstream.targets | default([]) }}"
34 loop_control: 34 loop_control:
35 loop_var: target 35 loop_var: target