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 2018/03/15 20:29:36 UTC

[airavata] 01/03: Adding demo gateway1 for ACS workshop

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

commit 358a3f8cb8b72d6b7d5d7416cb7642286d967119
Author: Eroma Abeysinghe <er...@gmail.com>
AuthorDate: Wed Mar 14 02:44:17 2018 -0400

    Adding demo gateway1 for ACS workshop
---
 .../scigap/production/pga_config/demo1/vars.yml    | 65 ++++++++++++++++++++++
 .../scigap/production/pga_config/demo1/vault.yml   | 17 ++++++
 2 files changed, 82 insertions(+)

diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/demo1/vars.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/demo1/vars.yml
new file mode 100644
index 0000000..5302ffe
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/production/pga_config/demo1/vars.yml
@@ -0,0 +1,65 @@
+#
+#
+# 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.
+#
+
+---
+pga_repo: "https://github.com/apache/airavata-php-gateway.git"
+git_branch: "master"
+user: "pga"
+group: "pga"
+doc_root_dir: "/var/www/portals/{{ gateway_id }}"
+vhost_servername: "demo1.scigap.org"
+vhost_ssl: false
+# TODO: have Ansible manage these files as well
+#ssl_certificate_file: "/etc/letsencrypt/live/hpcgateway.uky.edu/cert.pem"
+#ssl_certificate_chain_file: "/etc/letsencrypt/live/hpcgateway.uky.edu/fullchain.pem"
+#ssl_certificate_key_file: "/etc/letsencrypt/live/hpcgateway.uky.edu/privkey.pem"
+
+## Keycloak related variables
+tenant_domain: "{{ gateway_id }}"
+admin_username: "admin"
+admin_password: "{{ vault_admin_password }}"
+oauth_client_key: "{{ vault_oauth_client_key }}"
+oauth_client_secret: "{{ vault_oauth_client_secret }}"
+oidc_discovery_url: "https://iam.scigap.org/auth/realms/{{ tenant_domain }}/.well-known/openid-configuration"
+
+auth_options:
+  - name: "Airavata Demo Gateway 1"
+    oauth_grant_type: "password"
+# - name: "CILogon"
+#    oauth_grant_type: "authorization_code"
+#   oauth_authorize_url_extra_params: "kc_idp_hint=cilogon"
+#   logo: "/assets/cilogon-logo-24x24-b.png"
+oauth_callback_url: "http://{{ vhost_servername }}/callback-url"
+
+gateway_id: "demo1"
+# relative to document root dir
+experiment_data_dir: "{{ user_data_dir }}/{{ gateway_id }}"
+gateway_data_store_resource_id: "gf4.ucs.indiana.edu_61552681-96f0-462a-a36c-a62a010bffc6"
+gateway_data_store_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCDZqz7IvNgwLfAc9nu6zAmKv+kIuw4u5+e+9pKJIynZaivQqeB7Od0yRt93aGz6FGWSc8AeZeumSQ6tyRkR0R089b4BNwA9Khxk1n1N03nHz4mnTSaAKh6WS2dFodsPhOeJaoJVCSJtRtv5h3O8vMNJGUXGqbo/irxDKj41oVNW8IjoaBXTspNhzwN+cFqjd+o/YtQjpemS5OyfnG52iOb+5ZJFVnAw+QL3Y5HxEeyJSgQLKXLFovvcmqLczu0QpBoC1R27DiHgVq9Ocu3eqI+ySbNKIdj/AQva6yY9sh5MQgoWsATdVb7tnGlypwYZpapDHPgXpIQnFeVe6yZ3iyD"
+
+## Portal related variables
+super_admin_portal: "false"
+admin_emails: "['sgrc-iu-group@iu.edu']"
+portal_email_username: "pga.airavata@gmail.com"
+portal_email_password: "{{ vault_portal_email_password }}"
+#portal_theme: "gsu-gateway-theme"
+#portal_theme_repo: "https://github.com/SciGaP/gsu-gateway-theme"
+portal_title: "Airavata Demo Gateway 1"
+...
diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/demo1/vault.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/demo1/vault.yml
new file mode 100644
index 0000000..8e9c2b7
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/production/pga_config/demo1/vault.yml
@@ -0,0 +1,17 @@
+$ANSIBLE_VAULT;1.1;AES256
+38343238373337646663616535313531323233666562333261336239306331643465343461313434
+3636373534643339383834363033656164663632663166350a333838643138633639613263646465
+64393430646165353331663432353731666133636232626133643931643661313964336634326633
+6339373938633734310a626263353030336230666463336562616334336263313235363536376564
+65303632616631343066396161366138623231666534653531666533656537383637366562353634
+62393633636463393761613236616163623365663566326165316336363534646231663962636232
+32386236303432373431316639363037393864353839636663643231643330326565343634663764
+65356432306464386138326564366638306166646134363465363663626164663633373031366330
+39636362633663636633643631363330393362663766613164656465333833303235653538666131
+65366531366165633734316239356434623835633465313133646538626534643939306233643538
+34333761363635346564356131653834313666656331323335366434666533623462656462336434
+36613634616462656639633565343734373362313163643865343031633630663433353964656230
+30346362313433326665643263333837656565656337326662623666626166666234376637333730
+62306334633538383132356533316435646338353538666332663133333830653832663633333932
+66643533643534306134393264643964666230303936393434646335623538333031373665666137
+65633862663533333730

-- 
To stop receiving notification emails like this one, please contact
eroma@apache.org.