-
Notifications
You must be signed in to change notification settings - Fork 15
/
main.yml
57 lines (55 loc) · 1.31 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
ubuntu_flavor: "trusty"
kong_user: "kong"
kong_group: "{{ kong_user }}"
kong_working_dir: "/opt"
kong_source_ver: "0.5.4"
kong_source_deb: "https://github.com/Mashape/kong/releases/download/{{ kong_source_ver }}/kong-{{ kong_source_ver }}.{{ ubuntu_flavor }}_all.deb"
kong_conf_dest: "/etc/kong/kong.yml"
kong_service_state: "started"
kong_service_enabled: "yes"
kong_service_pid: "/usr/local/kong/kong.pid"
kong_service_log_dir: "/var/log/kong"
kong_dependencies:
- netcat
- lua5.1
- openssl
- libpcre3
- dnsmasq
kong_conf_plugins_available:
- ssl
- jwt
- acl
- cors
- oauth2
- tcp-log
- udp-log
- file-log
- http-log
- key-auth
- hmac-auth
- basic-auth
- ip-restriction
- mashape-analytics
- request-transformer
- response-transformer
- request-size-limiting
- rate-limiting
- response-ratelimiting
kong_conf_nginx_working_dir: "/usr/local/kong/"
kong_conf_proxy_port: 8000
kong_conf_proxy_ssl_port: 8443
kong_conf_admin_api_port: 8001
kong_conf_dnsmasq_port: 8053
kong_conf_database: "cassandra"
kong_conf_databases_available:
cassandra:
properties:
contact_points:
- "localhost:9042"
timeout: 1000
keyspace: kong
keepalive: 60000
kong_conf_database_cache_expiration: 5
kong_conf_send_anonymous_reports: true
kong_conf_memory_cache_size: 128