/
api.yml
36 lines (36 loc) · 1.42 KB
/
api.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
---
- name: Configure contrail-analytics-api.conf
ini_file:
dest: "{{ analytics_api_conf }}"
section: "{{ item.section }}"
option: "{{ item.option }}"
value: "{{ item.value }}"
create: yes
with_inidata:
DEFAULTS:
host_ip: "{{ my_analytics_ip }}"
log_file: "{{ analytics_api_log }}"
log_level: "{{ analytics_api_log_level }}"
log_local: "{{ log_local }}"
cassandra_server_list: "{{ analyticsdb_servers_with_cql_port }}"
partitions: "{{ anlaytics_uve_partition_count }}"
api_server: "{{ api_servers_with_port }}"
api_server_use_ssl: "{{ api_server_use_ssl }}"
http_server_port: "{{ analytics_api_introspect_port }}"
rest_api_port: "{{ analytics_api_listen_port }}"
rest_api_ip: "{{ analytics_api_listen_address }}"
aaa_mode: "{{ analytics_aaa_mode_orig }}"
collectors: "{{ analytics_collectors_with_port }}"
zk_list: "{{ zk_servers_with_port_space_delim }}"
REDIS:
redis_uve_list: "{{ analytics_redis_servers_with_port }}"
redis_query_port: "{{ analytics_redis_port }}"
SANDESH:
sandesh_ssl_enable: "{{ sandesh_ssl_enable }}"
introspect_ssl_enable: "{{ introspect_ssl_enable }}"
sandesh_keyfile: "{{ sandesh_keyfile }}"
sandesh_certfile: "{{ sandesh_certfile }}"
sandesh_ca_cert: "{{ sandesh_ca_cert }}"
notify:
- restart analytics-api supervisord
- restart analytics-api systemd