{% set ips = openbook_gcomm_addresses.split(",") %} {% if ips|length > 1 %} {% set failover = "failover:" %} {% else %} {% set failover = "" %} {% endif %} { "log.path": "/var/log/openbook/workflow-server/workflow-server.log" {% if "True" == openbook_install_workflow_server|string() %} ,"entityDS.url": "jdbc:mariadb:{{ failover }}//{{ openbook_gcomm_addresses }}/openbook" ,"workflowDS.url": "jdbc:mariadb:{{ failover }}//{{ openbook_gcomm_addresses }}/openbook_workflow" ,"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 %} }