]> git.immae.eu Git - github/fretlink/ansible-kong-app.git/commitdiff
get service id
authorGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>
Thu, 4 Apr 2019 08:57:56 +0000 (10:57 +0200)
committerGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>
Thu, 4 Apr 2019 08:57:56 +0000 (10:57 +0200)
tasks/kong-app.yml

index 0d13b7fcacce19416091249a9204aa46fb3c1d82..23d32c33af883c438108839bd899ed3d3fdc3269 100644 (file)
@@ -28,8 +28,8 @@
   register: kong_service_creation_st
 
 - name: set service id
-  set-fact:
-    kong_current_service_id: "{{ kong_service_creation_st.json.data.id }}"
+  set_fact:
+    kong_current_service_id: "{{ kong_service_creation_st.json.id }}"
 
 - name: Setup plugins
   import_tasks: plugins.yml