From d0b8b42a93538560870ce8421bb1d68aeb2e1652 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 26 Jul 2017 17:44:45 +0200 Subject: [PATCH] Set the jackrabbit cluster node ID. --- smartgears/home_library/defaults/main.yml | 1 + smartgears/home_library/templates/repository.xml.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/smartgears/home_library/defaults/main.yml b/smartgears/home_library/defaults/main.yml index fd39dd44..df16b298 100644 --- a/smartgears/home_library/defaults/main.yml +++ b/smartgears/home_library/defaults/main.yml @@ -85,6 +85,7 @@ jackrabbit_cluster_db_user: 'ws-db-journal-user' # jackrabbit_cluster_db_password: '' jackrabbit_cluster_db_url: 'jdbc:{{ jackrabbit_cluster_db_type }}://{{ jackrabbit_cluster_db_host }}/{{ jackrabbit_cluster_db_name }}' jackrabbit_cluster_db_tableprefix: 'journal_' +jackrabbit_cluster_node_id: '{{ ansible_fqdn }}' # Set it to true if we want to clean the journal daily jackrabbit_cluster_janitor_enabled: 'false' diff --git a/smartgears/home_library/templates/repository.xml.j2 b/smartgears/home_library/templates/repository.xml.j2 index 5747bbc7..3621370e 100644 --- a/smartgears/home_library/templates/repository.xml.j2 +++ b/smartgears/home_library/templates/repository.xml.j2 @@ -95,7 +95,7 @@ - +