aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authorGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>2021-12-10 15:10:41 +0100
committerGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>2021-12-10 15:10:41 +0100
commite8dd12d4d9248db0df8ca17969924083e588e961 (patch)
tree8548fd182146fbe89dc94c9dd552a6621fc9fa13 /tasks
parent0bdfdca1e6a08d7af67bb9218cea514f9c7e91b8 (diff)
downloadansible-kong-app-e8dd12d4d9248db0df8ca17969924083e588e961.tar.gz
ansible-kong-app-e8dd12d4d9248db0df8ca17969924083e588e961.tar.zst
ansible-kong-app-e8dd12d4d9248db0df8ca17969924083e588e961.zip
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