aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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