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
|
{% raw %}
{% set ips = openbook_gcomm_addresses.split(",") %}
{% if ips|length > 1 %}
{% set sequential = "sequential:" %}
{% else %}
{% set sequential = "" %}
{% endif %}
{% endraw %}
{
"log.path": "{{ pillar["admin_api_server"]["log"] }}"
{% raw %}
{% if "True" == openbook_install_admin_api_server|string() %}
,"db.user": "{{ openbook_database_user }}"
,"db.password": "{{ openbook_database_password }}"
,"entityDS.url": "jdbc:mariadb:{{ sequential }}//{{ openbook_gcomm_addresses }}/openbook"
,"workflowDS.url": "jdbc:mariadb:{{ sequential }}//{{ openbook_gcomm_addresses }}/openbook_workflow"
,"jobsDS.url": "jdbc:mariadb:{{ sequential }}//{{ openbook_gcomm_addresses }}/openbook_jobs"
,"application.port": {{ openbook_admin_api_server_port }}
,"cluster.interfaces": ["{{ ansible_default_ipv4.address }}"]
,"jwt.signature.key": "{{ openbook_jwt_signature_key }}"
{% endif %}
{% if openbook_ssl_cert and openbook_ssl_key %}
,"ssl.cert.path": "{{ openbook_ssl_cert }}"
,"ssl.key.path": "{{ openbook_ssl_key }}"
{% endif %}
,"auth.type": "{{ openbook_auth_type }}"
{% if openbook_role_group_mappings is none %}
,"role.group.mappings": null
{% else %}
,"role.group.mappings": {{ openbook_role_group_mappings }}
{% endif %}
{% endraw %}
}
|