From 82f8f46f073e171a0dd3b226a97b8df935ce58be Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ga=C3=ABtan=20Duchaussois?= Date: Wed, 3 Apr 2019 18:32:08 +0200 Subject: [PATCH 1/1] debugging --- tasks/kong-app.yml | 5 +++++ tasks/plugins.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tasks/kong-app.yml b/tasks/kong-app.yml index 975e2cd..0d13b7f 100644 --- a/tasks/kong-app.yml +++ b/tasks/kong-app.yml @@ -25,6 +25,11 @@ service_body: name: "{{ service.name }}" url: "{{ service.url }}" + register: kong_service_creation_st + +- name: set service id + set-fact: + kong_current_service_id: "{{ kong_service_creation_st.json.data.id }}" - name: Setup plugins import_tasks: plugins.yml diff --git a/tasks/plugins.yml b/tasks/plugins.yml index cedbbd2..3b105ae 100644 --- a/tasks/plugins.yml +++ b/tasks/plugins.yml @@ -26,4 +26,4 @@ current_body: "{{ (current_id_hash.id == '') | ternary({}, current_id_hash) }}" exists_plugin: "{{ current_id_hash.id == '' }}" when: not kong_app_service_plugins_check is skipped - no_log: true + no_log: false -- 2.41.0