aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index e9a2a29..bdf665e 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ Role Variables
13* `kong_servers`: an array of kong\_server to configure with followin configuration: 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
@@ -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