From: Gaƫtan Duchaussois Date: Wed, 3 Apr 2019 16:32:08 +0000 (+0200) Subject: debugging X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=82f8f46f073e171a0dd3b226a97b8df935ce58be;hp=66401fc939cd73628561d4832c3e219f0b44d8de;p=github%2Ffretlink%2Fansible-kong-app.git debugging --- 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