You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2019/06/07 14:06:10 UTC

[airavata] branch master updated: Adding local data location to ansibles

This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/master by this push:
     new cc35ce9  Adding local data location to ansibles
cc35ce9 is described below

commit cc35ce9b49c94c921e0c6c4d95ac75b41a6515f0
Author: Dimuthu Wannipurage <di...@gmail.com>
AuthorDate: Fri Jun 7 10:05:53 2019 -0400

    Adding local data location to ansibles
---
 .../ansible/inventories/scigap/production/group_vars/all/vars.yml    | 1 +
 dev-tools/ansible/roles/helix_setup/defaults/main.yml                | 2 ++
 .../helix_setup/templates/participant/airavata-server.properties.j2  | 5 ++++-
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-tools/ansible/inventories/scigap/production/group_vars/all/vars.yml b/dev-tools/ansible/inventories/scigap/production/group_vars/all/vars.yml
index 5647467..25123de 100644
--- a/dev-tools/ansible/inventories/scigap/production/group_vars/all/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/production/group_vars/all/vars.yml
@@ -143,6 +143,7 @@ helix_pre_wm_name: "prewm"
 helix_pre_wm_load_balance_clusters: "false"
 helix_post_wm_name: "postwm"
 helix_post_wm_load_balance_clusters: "false"
+local_data_location: "/home/airavata/temp-storage"
 
 # Listening port for kafka installations
 kafka_listener_port: 9092
diff --git a/dev-tools/ansible/roles/helix_setup/defaults/main.yml b/dev-tools/ansible/roles/helix_setup/defaults/main.yml
index d289857..62d7421 100644
--- a/dev-tools/ansible/roles/helix_setup/defaults/main.yml
+++ b/dev-tools/ansible/roles/helix_setup/defaults/main.yml
@@ -46,4 +46,6 @@ helix_log_total_size_cap: "1GB"
 
 kafka_listener_port: 9092
 kafka_rest_proxy_listener_port: 8082
+
+local_data_location: "/tmp"
 ...
diff --git a/dev-tools/ansible/roles/helix_setup/templates/participant/airavata-server.properties.j2 b/dev-tools/ansible/roles/helix_setup/templates/participant/airavata-server.properties.j2
index eddf85b..5aee4df 100644
--- a/dev-tools/ansible/roles/helix_setup/templates/participant/airavata-server.properties.j2
+++ b/dev-tools/ansible/roles/helix_setup/templates/participant/airavata-server.properties.j2
@@ -62,4 +62,7 @@ experiment.launch..queue.name=experiment.launch.queue
 # Zookeeper Server Configuration
 ###########################################################################
 zookeeper.server.connection={{ zookeeper_connection_url }}
-zookeeper.timeout=30000
\ No newline at end of file
+zookeeper.timeout=30000
+
+
+local.data.location={{ local_data_location }}
\ No newline at end of file