aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPaul Bonaud <paul.bonaud@fretlink.com>2020-10-14 10:51:41 +0200
committerPaul Bonaud <paul.bonaud@fretlink.com>2020-10-14 10:51:41 +0200
commite475469f4a5dc05df98cbb856d9d9328fc73c100 (patch)
tree74fa90a1705738fc74ab23bd93df844e47bc9d3f
parent9c9fe5d8071afd657e57a6c11f60e275c2261246 (diff)
downloadansible-kong-app-e475469f4a5dc05df98cbb856d9d9328fc73c100.tar.gz
ansible-kong-app-e475469f4a5dc05df98cbb856d9d9328fc73c100.tar.zst
ansible-kong-app-e475469f4a5dc05df98cbb856d9d9328fc73c100.zip
README: add a Travis badge with build status
Also format yaml code with correct color syntax
-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----