]> git.immae.eu Git - github/fretlink/ansible-kong-app.git/commitdiff
tests: fix variables in the test playbook
authorPaul Bonaud <paul.bonaud@fretlink.com>
Thu, 2 Jan 2020 13:08:23 +0000 (14:08 +0100)
committerPaul Bonaud <paul.bonaud@fretlink.com>
Thu, 2 Jan 2020 14:41:43 +0000 (15:41 +0100)
tests/test.yml

index 490c967d11ac143ccbc6a7960e00f130e892ad1f..36c81a28f611f46dc1dbefb80a93ae16b02e042f 100644 (file)
@@ -3,9 +3,10 @@
   remote_user: root
   roles:
     - role: ansible-kong-app
-      kong_servers: 
-        - kong_app_admin_url: http://127.0.0.1:8000
-          kong_app_admin_apikey: ""
-          services:
-            - url: http://example.com
-              name: test
+      vars:
+        kong_servers:
+          - kong_app_admin_url: http://127.0.0.1:8000
+            kong_app_admin_apikey: ""
+            services:
+              - url: http://example.com
+                name: test