blob: 262abd00c5cc3477ba2545696957d3fe1e161e5a (
plain)
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
|
{% raw %}
{% set ips = openbook_gcomm_addresses.split(",") %}
{% if ips|length > 1 %}
{% set failover = "failover:" %}
{% else %}
{% set failover = "" %}
{% endif %}
{% endraw %}
{
"log.path": "{{ pillar["job_scheduler_server"]["log"] }}"
{% raw %}
{% if "True" == openbook_install_job_scheduler_server|string() %}
,"entityDS.url": "jdbc:mariadb:{{ failover }}//{{ openbook_gcomm_addresses }}/openbook"
,"jobsDS.url": "jdbc:mariadb:{{ failover }}//{{ openbook_gcomm_addresses }}/openbook_jobs"
,"cluster.interfaces": ["{{ ansible_default_ipv4.address }}"]
,"jwt.signature.key": "{{ openbook_jwt_signature_key }}"
{% endif %}
{% if openbook_disable_ssl_cert %}
,"application.disableSSL": true
{% endif %}
{% if openbook_ssl_cert and openbook_ssl_key %}
,"ssl.cert.path": "{{ openbook_ssl_cert }}"
,"ssl.key.path": "{{ openbook_ssl_key }}"
{% endif %}
{% endraw %}
}
|