diff options
author | Gaƫtan <36162164+gaetanfl@users.noreply.github.com> | 2021-12-10 17:26:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-10 17:26:55 +0100 |
commit | 05ca2d729b48f99be643ae3665e05fd07d2b8d78 (patch) | |
tree | 8548fd182146fbe89dc94c9dd552a6621fc9fa13 | |
parent | e2895c0c8c400094999840bc98753df82446db4a (diff) | |
parent | 565594c152647b9aef789c0648f5fe7d9c35329a (diff) | |
download | ansible-kong-app-05ca2d729b48f99be643ae3665e05fd07d2b8d78.tar.gz ansible-kong-app-05ca2d729b48f99be643ae3665e05fd07d2b8d78.tar.zst ansible-kong-app-05ca2d729b48f99be643ae3665e05fd07d2b8d78.zip |
upstream: allow 200 as a valid return code when adding target
-rw-r--r-- | tasks/upstream.yml | 2 |
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 |