]> git.immae.eu Git - github/fretlink/ansible-kong-app.git/blobdiff - README.md
add support for upstream with multiple targets
[github/fretlink/ansible-kong-app.git] / README.md
index bdf665e658cf2d84b43cd381af55973ad989726e..58532269df2c93aa7df099462fda1c1fcbed4654 100644 (file)
--- a/README.md
+++ b/README.md
@@ -16,6 +16,11 @@ Role Variables
   * `services` an array of services to setup (default to [])
     * `name` the name of the service to create for this app, mandatory
     * `url` the url of the backend of the app, mandatory
+    * `upstream` if the url reference an upstream a dict with the configuration
+      * `conf` the configuration as expected by kong for an upstream creataion
+      * `targets` an array of dict defining a target for kong
+        * `target` the host:port to reach the target
+        * `weight` the weight of the target
     * `plugins` An array of plugins to activate with their name and config in a dict
       * `name`
       * `config`