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 2018/08/03 16:02:12 UTC

[airavata] 02/02: AIRAVATA-2580 Adding Simvascular django config

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

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

commit 9500630370fbf2e5929ce684c9622f323bae3c44
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Fri Aug 3 11:57:56 2018 -0400

    AIRAVATA-2580 Adding Simvascular django config
---
 .../scigap/develop/host_vars/seagrid/vars.yml       |  1 -
 .../host_vars/{seagrid => simvascular}/vars.yml     | 21 ++++++++++-----------
 .../scigap/develop/host_vars/simvascular/vault.yml  | 12 ++++++++++++
 dev-tools/ansible/inventories/scigap/develop/hosts  |  2 +-
 4 files changed, 23 insertions(+), 13 deletions(-)

diff --git a/dev-tools/ansible/inventories/scigap/develop/host_vars/seagrid/vars.yml b/dev-tools/ansible/inventories/scigap/develop/host_vars/seagrid/vars.yml
index e9dda47..b591448 100644
--- a/dev-tools/ansible/inventories/scigap/develop/host_vars/seagrid/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/develop/host_vars/seagrid/vars.yml
@@ -39,7 +39,6 @@ auth_options:
       idp_alias: "oidc"
 
 gateway_id: "seagrid"
-# relative to document root dir
 experiment_data_dir: "{{ user_data_dir }}/django-seagrid"
 
 ...
diff --git a/dev-tools/ansible/inventories/scigap/develop/host_vars/seagrid/vars.yml b/dev-tools/ansible/inventories/scigap/develop/host_vars/simvascular/vars.yml
similarity index 65%
copy from dev-tools/ansible/inventories/scigap/develop/host_vars/seagrid/vars.yml
copy to dev-tools/ansible/inventories/scigap/develop/host_vars/simvascular/vars.yml
index e9dda47..ee7e105 100644
--- a/dev-tools/ansible/inventories/scigap/develop/host_vars/seagrid/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/develop/host_vars/simvascular/vars.yml
@@ -19,27 +19,26 @@
 #
 
 ---
-doc_root_dir: "/var/www/portals/django-seagrid"
-vhost_servername: "django.seagrid.org"
+doc_root_dir: "/data/portals/django-simvascular"
+vhost_servername: "beta.gateway.simvascular.org"
 vhost_ssl: True
-ssl_certificate_file: "/etc/letsencrypt/live/django.seagrid.org/cert.pem"
-ssl_certificate_chain_file: "/etc/letsencrypt/live/django.seagrid.org/fullchain.pem"
-ssl_certificate_key_file: "/etc/letsencrypt/live/django.seagrid.org/privkey.pem"
+ssl_certificate_file: "/etc/letsencrypt/live/beta.gateway.simvascular.org/cert.pem"
+ssl_certificate_chain_file: "/etc/letsencrypt/live/beta.gateway.simvascular.org/fullchain.pem"
+ssl_certificate_key_file: "/etc/letsencrypt/live/beta.gateway.simvascular.org/privkey.pem"
 
 ## Keycloak related variables
-tenant_domain: "seagrid"
+tenant_domain: "simvascular"
 oauth_client_key: "{{ vault_oauth_client_key }}"
 oauth_client_secret: "{{ vault_oauth_client_secret }}"
 
 auth_options:
   password:
-    name: "SEAGrid"
+    name: "Simvascular"
   external:
     - name: "CILogon"
-      idp_alias: "oidc"
+      idp_alias: "cilogon"
 
-gateway_id: "seagrid"
-# relative to document root dir
-experiment_data_dir: "{{ user_data_dir }}/django-seagrid"
+gateway_id: "simvascular"
+experiment_data_dir: "{{ user_data_dir }}/simvascular"
 
 ...
diff --git a/dev-tools/ansible/inventories/scigap/develop/host_vars/simvascular/vault.yml b/dev-tools/ansible/inventories/scigap/develop/host_vars/simvascular/vault.yml
new file mode 100644
index 0000000..01209f7
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/develop/host_vars/simvascular/vault.yml
@@ -0,0 +1,12 @@
+$ANSIBLE_VAULT;1.1;AES256
+32303837616132643837303237623233343463376161393930336332363531323632313137386431
+6533336462623335353136613633333433623834336532620a636531306133643762313765306633
+37303337356439373735393164326435393863333032333631643236623832313235653839376337
+3931303530306239360a363431373164616538363133356435303431333731386166656132613064
+37323834356463333064633864353430646239633762636139346131626536656435633266316636
+36666339663633336637663831646464343438333832633361306338613365366661343430373163
+61333865343230323761643838626436383437333136396562323938306439393838323136356266
+62333338656239646661653632336462333066343739656636396232323266643630626563626437
+63303331373362323632633166373636633332663766353736663866656231353032353661396532
+62373032356238656534666662323032336534353962646335616331333034656163613366393931
+383364613466623736303233636230363432
diff --git a/dev-tools/ansible/inventories/scigap/develop/hosts b/dev-tools/ansible/inventories/scigap/develop/hosts
index 9ec0df1..025a06f 100644
--- a/dev-tools/ansible/inventories/scigap/develop/hosts
+++ b/dev-tools/ansible/inventories/scigap/develop/hosts
@@ -24,4 +24,4 @@
 
 [django]
 seagrid ansible_host=pgadev.scigap.org
-#simvascular ansible_host=pgadev.scigap.org
\ No newline at end of file
+simvascular ansible_host=pgadev.scigap.org
\ No newline at end of file