aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorpaulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com>2020-10-26 16:31:15 +0100
committerGitHub <noreply@github.com>2020-10-26 16:31:15 +0100
commitc0c4a036f26afa4a0b28e623c2a529b38701aab8 (patch)
tree74fa90a1705738fc74ab23bd93df844e47bc9d3f
parent9c9fe5d8071afd657e57a6c11f60e275c2261246 (diff)
parente475469f4a5dc05df98cbb856d9d9328fc73c100 (diff)
downloadansible-kong-app-c0c4a036f26afa4a0b28e623c2a529b38701aab8.tar.gz
ansible-kong-app-c0c4a036f26afa4a0b28e623c2a529b38701aab8.tar.zst
ansible-kong-app-c0c4a036f26afa4a0b28e623c2a529b38701aab8.zip
Merge pull request #25 from paulrbr-fl/update-readmev0.33
README: add a Travis badge with build status
-rw-r--r--README.md25
1 files changed, 14 insertions, 11 deletions
diff --git a/README.md b/README.md
index e02203f..080a320 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,8 @@
1kong-app 1kong-app
2========= 2=========
3 3
4[![Build Status](https://travis-ci.com/fretlink/ansible-kong-app.svg?token=D3nFpUxMu7vStDHwUNy4&branch=master)](https://travis-ci.com/fretlink/ansible-kong-app)
5
4This role aims at creating, on a remote kong, a list of services, routes and plugins needed by an app. The API calls are made from the ansible target host. If you use `hosts: localhost` as a target from within your playbook then all API calls will be done from your local machine. 6This role aims at creating, on a remote kong, a list of services, routes and plugins needed by an app. The API calls are made from the ansible target host. If you use `hosts: localhost` as a target from within your playbook then all API calls will be done from your local machine.
5 7
6Requirements 8Requirements
@@ -42,17 +44,18 @@ None
42Example Playbook 44Example Playbook
43---------------- 45----------------
44 46
45 - hosts: localhost 47```yaml
46 roles: 48- hosts: localhost
47 - { role: kong-app, 49 roles:
48 kong_servers: 50 - role: kong-app,
49 - kong_app_admin_url: http://localhost:8001, 51 kong_servers:
50 services: 52 - kong_app_admin_url: http://localhost:8001,
51 - name: example, 53 services:
52 url: http://example.com, 54 - name: example,
53 plugins: [], 55 url: http://example.com,
54 routes: [ { hosts: [my.kong.example], paths: [/] } ] 56 plugins: [],
55 } 57 routes: [ { hosts: [my.kong.example], paths: [/] } ]
58```
56 59
57Tests 60Tests
58---- 61----