aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>2019-04-03 18:32:08 +0200
committerGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>2019-04-03 18:32:08 +0200
commit82f8f46f073e171a0dd3b226a97b8df935ce58be (patch)
tree10090addb8b11db6f28a72c8c451e3943e6b6f84
parent66401fc939cd73628561d4832c3e219f0b44d8de (diff)
downloadansible-kong-app-82f8f46f073e171a0dd3b226a97b8df935ce58be.tar.gz
ansible-kong-app-82f8f46f073e171a0dd3b226a97b8df935ce58be.tar.zst
ansible-kong-app-82f8f46f073e171a0dd3b226a97b8df935ce58be.zip
debugging
-rw-r--r--tasks/kong-app.yml5
-rw-r--r--tasks/plugins.yml2
2 files changed, 6 insertions, 1 deletions
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 @@
25 service_body: 25 service_body:
26 name: "{{ service.name }}" 26 name: "{{ service.name }}"
27 url: "{{ service.url }}" 27 url: "{{ service.url }}"
28 register: kong_service_creation_st
29
30- name: set service id
31 set-fact:
32 kong_current_service_id: "{{ kong_service_creation_st.json.data.id }}"
28 33
29- name: Setup plugins 34- name: Setup plugins
30 import_tasks: plugins.yml 35 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 @@
26 current_body: "{{ (current_id_hash.id == '') | ternary({}, current_id_hash) }}" 26 current_body: "{{ (current_id_hash.id == '') | ternary({}, current_id_hash) }}"
27 exists_plugin: "{{ current_id_hash.id == '' }}" 27 exists_plugin: "{{ current_id_hash.id == '' }}"
28 when: not kong_app_service_plugins_check is skipped 28 when: not kong_app_service_plugins_check is skipped
29 no_log: true 29 no_log: false