aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md34
1 files changed, 17 insertions, 17 deletions
diff --git a/README.md b/README.md
index 074e830..bdf665e 100644
--- a/README.md
+++ b/README.md
@@ -10,20 +10,20 @@ None at the moment
10 10
11Role Variables 11Role Variables
12-------------- 12--------------
13 13* `kong_servers`: an array of kong\_server to configure with followin configuration:
14* `kong_app_admin_url` the kong admin url (mandatory). 14 * `kong_app_admin_url` the kong admin url (mandatory).
15* `kong_app_admin_apikey` the apikey to use kong admin api. Default to "" 15 * `kong_app_admin_apikey` the apikey to use kong admin api. Default to ""
16* `kong_services` an array of services to setup (default to []) 16 * `services` an array of services to setup (default to [])
17 * `name` the name of the service to create for this app, mandatory 17 * `name` the name of the service to create for this app, mandatory
18 * `url` the url of the backend of the app, mandatory 18 * `url` the url of the backend of the app, mandatory
19 * `plugins` An array of plugins to activate with their name and config in a dict 19 * `plugins` An array of plugins to activate with their name and config in a dict
20 * `name` 20 * `name`
21 * `config` 21 * `config`
22 * `routes` An array of routes to create for this service. 22 * `routes` An array of routes to create for this service.
23 * `hosts` 23 * `hosts`
24 * `paths` 24 * `paths`
25 * `protocols` 25 * `protocols`
26 * `methods` 26 * `methods`
27 27
28Dependencies 28Dependencies
29------------ 29------------
@@ -35,11 +35,11 @@ Example Playbook
35 35
36 - hosts: localhost 36 - hosts: localhost
37 roles: 37 roles:
38 - { role: kong-app, kong_app_admin_url: http://localhost:8001, 38 - { role: kong-app, kong_servers: [ kong_app_admin_url: http://localhost:8001,
39 kong_app_services: [ name:example, 39 services: [ name:example,
40 url: http://example.com, 40 url: http://example.com,
41 plugins: [], 41 plugins: [],
42 routes: [ { hosts: [my.kong.example], paths: [/] } ]] 42 routes: [ { hosts: [my.kong.example], paths: [/] } ]]]
43 } 43 }
44 44
45License 45License