* `kong_servers`: an array of kong\_server to configure with followin configuration:
* `kong_app_admin_url` the kong admin url (mandatory).
* `kong_app_admin_apikey` the apikey to use kong admin api. Default to ""
- * `kong_services` an array of services to setup (default to [])
+ * `services` an array of services to setup (default to [])
* `name` the name of the service to create for this app, mandatory
* `url` the url of the backend of the app, mandatory
* `plugins` An array of plugins to activate with their name and config in a dict
- hosts: localhost
roles:
- - { role: kong-app, kong_app_admin_url: http://localhost:8001,
- kong_app_services: [ name:example,
+ - { 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: [/] } ]]
+ routes: [ { hosts: [my.kong.example], paths: [/] } ]]]
}
License