diff options
author | Gaëtan Duchaussois <gaetan.duchaussois@fretlink.com> | 2018-04-27 09:39:57 +0200 |
---|---|---|
committer | Gaëtan Duchaussois <gaetan.duchaussois@fretlink.com> | 2018-04-27 09:39:57 +0200 |
commit | 0d2ed34fe00b39a725c7bc82f898305187fd42b2 (patch) | |
tree | e3c6dd93646e92aa0a4add3ff7d0c26672b5378e | |
parent | 507bb99c0f6c79d5257d293a5eda6bbd3e34caaf (diff) | |
download | ansible-kong-app-0d2ed34fe00b39a725c7bc82f898305187fd42b2.tar.gz ansible-kong-app-0d2ed34fe00b39a725c7bc82f898305187fd42b2.tar.zst ansible-kong-app-0d2ed34fe00b39a725c7bc82f898305187fd42b2.zip |
fix README
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 | ||
45 | License | 45 | License |