From f9fca1285e7a0e996a5b2db7b807ad7aff63f0d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Duchaussois?= Date: Tue, 15 May 2018 16:43:03 +0200 Subject: target might be marked as absent if unhealthy --- tasks/upstream.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/upstream.yml b/tasks/upstream.yml index e944c82..43c1baf 100644 --- a/tasks/upstream.yml +++ b/tasks/upstream.yml @@ -50,6 +50,6 @@ method: DELETE headers: apikey: "{{ server.kong_app_admin_apikey }}" - status_code: 204 + status_code: 204,404 with_items: "{{ kong_app_service_targets_check.json.data }}" when: not kong_app_service_targets_check is skipped -- cgit v1.2.3