You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by er...@apache.org on 2019/11/03 12:05:15 UTC

[airavata] branch master updated: Added .yml and ssl certificates for Django Phasta gateway

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

eroma 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 31797c1  Added .yml and ssl certificates for Django Phasta gateway
31797c1 is described below

commit 31797c149580b0b88ea014c11418184c5583cfc6
Author: Eroma Abeysinghe <er...@gmail.com>
AuthorDate: Sun Nov 3 07:05:02 2019 -0500

    Added .yml and ssl certificates for Django Phasta gateway
---
 .../scigap/production/host_vars/phasta/vars.yml    | 49 ++++++++++++++++++++++
 .../scigap/production/host_vars/phasta/vault.yml   | 15 +++++++
 2 files changed, 64 insertions(+)

diff --git a/dev-tools/ansible/inventories/scigap/production/host_vars/phasta/vars.yml b/dev-tools/ansible/inventories/scigap/production/host_vars/phasta/vars.yml
new file mode 100644
index 0000000..19d1269
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/production/host_vars/phasta/vars.yml
@@ -0,0 +1,49 @@
+#
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+---
+vhost_servername: "phasta.scigap.org"
+vhost_ssl: True
+ssl_certificate_file: "/etc/letsencrypt/live/phasta.scigap.org/cert.pem"
+ssl_certificate_chain_file: "/etc/letsencrypt/live/phasta.scigap.org/fullchain.pem"
+ssl_certificate_key_file: "/etc/letsencrypt/live/phasta.scigap.org/privkey.pem"
+
+## Keycloak related variables
+tenant_domain: "phasta"
+oauth_client_key: "{{ vault_oauth_client_key }}"
+oauth_client_secret: "{{ vault_oauth_client_secret }}"
+
+auth_options:
+  password:
+    name: "Phasta Science Gateway"
+  external:
+    - name: "existing institution credentials"
+      idp_alias: "cilogon"
+      logo: "images/cilogon-logo-24x24-b.png"
+
+gateway_id: "phasta"
+experiment_data_dir: "{{ user_data_dir }}/phasta"
+gateway_data_store_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCIvxQcdWfZPnXgM1mU++kTuX2ydkQ5BxK0w4stY9qEwJDUoRxF6nstTFBEDkhS34/oBYsJIH9IM4UPxiiplwoIPSYRpqI24pmVNnfJakcsFmxeSVmQRI7SztedXca9IAn9DelJZyORonYsfbsYIDQNzAiMUVs+K9l4flZUqVIZwYrrKfDbd2StC3DUvCugKgJk+v+XsRUxGsebk8wqE273GYPtMt4bdTQFZMfCLg52pXUqrK8RTbL+WdB7uCVXAGC2vu7OsI5+BJSVVUUPiA3vS9oiuZS9qPAYEwowEs+RMl56sGLh5udvhMxaSDn4zqWKTo/LNXcO2p2Y9sit90LD"
+django_hidden_airavata_apps: "[]"
+
+admin_emails: "[('SGRC', 'sgrc-iu-group@iu.edu'),('Cameron Smith','smithc11@rpi.edu')]"
+portal_title: "Phasta Science Gateway"
+
+...
diff --git a/dev-tools/ansible/inventories/scigap/production/host_vars/phasta/vault.yml b/dev-tools/ansible/inventories/scigap/production/host_vars/phasta/vault.yml
new file mode 100644
index 0000000..acd147d
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/production/host_vars/phasta/vault.yml
@@ -0,0 +1,15 @@
+$ANSIBLE_VAULT;1.1;AES256
+62363666653432366563333232386534316339643562656138373635363032613636636336393737
+6130353365343239346434363766323764643061316164630a376432663832666464336361376135
+64343435363636323037346263633137383232656232633133373137303466313363346537303336
+3662623530663038380a376331323865613435643064346636616561613430303161646134633634
+36663632363231363736333031303638646136396663386639346338366265653661303335616462
+35386336393337393365316338633739356531623932623130616234353034336665616635353265
+34613163303764646438316338393037326433623433313233393064316234623066653662396138
+33393037313866316163633137646632376165663731393561323731363031613362323634306131
+62386633656265666563353036393136653363623632316439386134643663633963303836393339
+36386137316631303531393532316430363334656637343730626631633763663535656562353335
+61363632623833313430633939666331616132363837666462343465313337666134313733313762
+66366537386362376164616363303434343235633630656166376366636632373031373437306530
+33636364623161326261646430313065303238613730306563663530616634363733666262356630
+6136373934333532666130346334636638633663393965366331