]> git.immae.eu Git - github/fretlink/ansible-kong-app.git/commitdiff
debugging
authorGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>
Wed, 3 Apr 2019 16:32:08 +0000 (18:32 +0200)
committerGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>
Wed, 3 Apr 2019 16:32:08 +0000 (18:32 +0200)
tasks/kong-app.yml
tasks/plugins.yml

index 975e2cdffb99458c51f75f5a98fb3accc53b89d1..0d13b7fcacce19416091249a9204aa46fb3c1d82 100644 (file)
     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
index cedbbd2af2b089dcf0cc8457118b194ea4731aa0..3b105aecb1276202b6a8e5ba0d32e183a08fafe0 100644 (file)
@@ -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