diff options
author | Gaëtan Duchaussois <gaetan.duchaussois@fretlink.com> | 2018-05-14 16:22:00 +0200 |
---|---|---|
committer | Gaëtan Duchaussois <gaetan.duchaussois@fretlink.com> | 2018-05-14 16:22:00 +0200 |
commit | fb5b452707a004967d7b27abc5d515a03278d446 (patch) | |
tree | c3e524077759cc2acb6d33bfb320a35c73f17a1f /README.md | |
parent | 03d5555b42e25dd6da9a0241e8a5f5937a9bbeb8 (diff) | |
download | ansible-kong-app-fb5b452707a004967d7b27abc5d515a03278d446.tar.gz ansible-kong-app-fb5b452707a004967d7b27abc5d515a03278d446.tar.zst ansible-kong-app-fb5b452707a004967d7b27abc5d515a03278d446.zip |
add support for upstream with multiple targets
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -16,6 +16,11 @@ Role Variables | |||
16 | * `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 | * `upstream` if the url reference an upstream a dict with the configuration | ||
20 | * `conf` the configuration as expected by kong for an upstream creataion | ||
21 | * `targets` an array of dict defining a target for kong | ||
22 | * `target` the host:port to reach the target | ||
23 | * `weight` the weight of the target | ||
19 | * `plugins` An array of plugins to activate with their name and config in a dict | 24 | * `plugins` An array of plugins to activate with their name and config in a dict |
20 | * `name` | 25 | * `name` |
21 | * `config` | 26 | * `config` |