You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2022/07/30 16:43:08 UTC

[airavata] branch master updated: Ansible: dreg config for js2

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

machristie 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 9fa2751388 Ansible: dreg config for js2
9fa2751388 is described below

commit 9fa2751388cd1872ae211ca9b0e6cb383957cff4
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Sat Jul 30 12:42:59 2022 -0400

    Ansible: dreg config for js2
---
 .../scigap/production/host_vars/dreg/vars.yml            | 16 +++++++++++-----
 dev-tools/ansible/inventories/scigap/production/hosts    |  2 +-
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/dev-tools/ansible/inventories/scigap/production/host_vars/dreg/vars.yml b/dev-tools/ansible/inventories/scigap/production/host_vars/dreg/vars.yml
index f826288c22..1c6df60966 100644
--- a/dev-tools/ansible/inventories/scigap/production/host_vars/dreg/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/production/host_vars/dreg/vars.yml
@@ -24,7 +24,12 @@
 
 gateway_data_store_hostname: "dreg.dnasequence.org"
 gateway_data_store_resource_id: "js-156-72.jetstream-cloud.org_758cf5c0-71f4-4268-bb42-5ede23cfeea9"
-tusd_vhost_servername: "tus.dreg.scigap.org"
+real_user_data_dir: "/media/volume/sdb/gateway-user-data"
+# Keep user_data_dir same as it was on old VM
+user_data_dir: "/var/www/portals/gateway-user-data"
+# TODO: setup tusd
+# tusd_vhost_servername: "tus.dreg.scigap.org"
+tusd_vhost_servername:
 # Increase max upload size to 1GB
 django_file_upload_max_file_size_mb: 1024
 
@@ -34,11 +39,12 @@ httpd_selinux_mode: "permissive"
 # airavata_django_extra_dependencies:
 #   - git+https://github.com/SciGaP/dreg-djangoapp.git@gbrowser#egg=dreg-djangoapp
 
-vhost_servername: "django.dreg.scigap.org"
+# vhost_servername: "django.dreg.scigap.org"
+vhost_servername: "dreg.js2.scigap.org"
 vhost_ssl: True
-ssl_certificate_file: "/etc/letsencrypt/live/django.dreg.scigap.org/cert.pem"
-ssl_certificate_chain_file: "/etc/letsencrypt/live/django.dreg.scigap.org/fullchain.pem"
-ssl_certificate_key_file: "/etc/letsencrypt/live/django.dreg.scigap.org/privkey.pem"
+ssl_certificate_file: "/etc/letsencrypt/live/{{ vhost_servername }}/cert.pem"
+ssl_certificate_chain_file: "/etc/letsencrypt/live/{{ vhost_servername }}/fullchain.pem"
+ssl_certificate_key_file: "/etc/letsencrypt/live/{{ vhost_servername }}/privkey.pem"
 django_ssl_vhost_template: "{{ inventory_dir }}/host_vars/dreg/files/django-ssl-vhost.conf.j2"
 
 ## Keycloak related variables
diff --git a/dev-tools/ansible/inventories/scigap/production/hosts b/dev-tools/ansible/inventories/scigap/production/hosts
index 14b702912f..d6619a0038 100644
--- a/dev-tools/ansible/inventories/scigap/production/hosts
+++ b/dev-tools/ansible/inventories/scigap/production/hosts
@@ -79,7 +79,7 @@ bayesprism ansible_host=156.56.104.84
 ehtgateway ansible_host=156.56.104.84
 
 # dreg jetstream server
-dreg ansible_host=149.165.156.72 ansible_user=centos
+dreg ansible_host=149.165.154.48 ansible_user=exouser
 
 # futurewater jetstream server
 futurewater ansible_host=149.165.154.245 ansible_user=exouser