aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorGaƫtan <36162164+gaetanfl@users.noreply.github.com>2018-04-27 10:23:37 +0200
committerGitHub <noreply@github.com>2018-04-27 10:23:37 +0200
commit03d5555b42e25dd6da9a0241e8a5f5937a9bbeb8 (patch)
treee3c6dd93646e92aa0a4add3ff7d0c26672b5378e /README.md
parent72627c8c7454feb4ee38f2d3eddd4cfcabb9a2d4 (diff)
parent0d2ed34fe00b39a725c7bc82f898305187fd42b2 (diff)
downloadansible-kong-app-03d5555b42e25dd6da9a0241e8a5f5937a9bbeb8.tar.gz
ansible-kong-app-03d5555b42e25dd6da9a0241e8a5f5937a9bbeb8.tar.zst
ansible-kong-app-03d5555b42e25dd6da9a0241e8a5f5937a9bbeb8.zip
Merge pull request #3 from gaetanfl/multiplekong_serversv0.3
support multiple kong servers
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