- - hosts: localhost
- roles:
- - { role: kong-app,
- kong_servers:
- - kong_app_admin_url: http://localhost:8001,
- services:
- - name: example,
- url: http://example.com,
- plugins: [],
- routes: [ { hosts: [my.kong.example], paths: [/] } ]
- }
+```yaml
+- hosts: localhost
+ roles:
+ - role: kong-app,
+ kong_servers:
+ - kong_app_admin_url: http://localhost:8001,
+ services:
+ - name: example,
+ url: http://example.com,
+ plugins: [],
+ routes: [ { hosts: [my.kong.example], paths: [/] } ]
+```