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/10/20 00:32:25 UTC
[airavata] branch master updated: Adding Hubzero gateway to ansible
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 1665986 Adding Hubzero gateway to ansible
1665986 is described below
commit 1665986725ed9f65da04c9d6b827a5f42ec01836
Author: Eroma Abeysinghe <er...@gmail.com>
AuthorDate: Fri Oct 19 20:31:21 2018 -0400
Adding Hubzero gateway to ansible
---
.../scigap/production/pga_config/hubzero/vars.yml | 65 ++++++++++++++++++++++
.../scigap/production/pga_config/hubzero/vault.yml | 18 ++++++
2 files changed, 83 insertions(+)
diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/hubzero/vars.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/hubzero/vars.yml
new file mode 100644
index 0000000..8b39ce0
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/production/pga_config/hubzero/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: "hubzero.scigap.org"
+vhost_ssl: false
+# TODO: have Ansible manage these files as well
+#ssl_certificate_file: "/etc/letsencrypt/live/gemr.scigap.org/cert.pem"
+#ssl_certificate_chain_file: "/etc/letsencrypt/live/gemr.scigap.org/fullchain.pem"
+#ssl_certificate_key_file: "/etc/letsencrypt/live/gemr.scigap.org/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: "HubZero Gateway"
+ oauth_grant_type: "password"
+# - name: "Existing Institute Login" #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: "https://{{ vhost_servername }}/callback-url"
+
+gateway_id: "hubzero"
+# 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 AAAAB3NzaC1yc2EAAAADAQABAAABAQDEs5h0NUb+8yDYtAXigQDQ/s2tQmIKTMJYhxiDRnxGSGylIMPVkKfbhytNry+fOd4aJ4q7HxkR4K808NqmytfH9o06De5ODkbp2InpzWw4O4QtKNwaqwNpIukU+S1seaodQaNfKeniT+LAq5pGQgUYdcIH4PjFSKY1z0HmfktY55lwGxdUwfe81aDMQ9Zu/310656/BftgdFIA51sOiL4nCxFj7H5cLeeSZujW5E9Yx7d3u6BCk5YMLrVBqoHThwtKK02BgugypeNn3rJHQvOGduKu0UpHV6IfLayeKGy3YYPzLkVb+ApJo4hOm6zsskWKH3PP3auCEFfyqYonA4sF"
+
+## 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: "base-gateway-theme"
+#portal_theme_repo: "https://github.com/SciGaP/base-pga-theme"
+portal_title: "HubZero Gateway"
+...
diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/hubzero/vault.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/hubzero/vault.yml
new file mode 100644
index 0000000..d9d352d
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/production/pga_config/hubzero/vault.yml
@@ -0,0 +1,18 @@
+$ANSIBLE_VAULT;1.1;AES256
+31386662393265616233346639353664363632346666373865303733346332373961623432393162
+3336633262396632643438613232663932626139306262310a653966663563313839616135303132
+35633166663863343561663930353666353562356338313965633233613436333261386163363962
+6233356432626461630a636238663332353437306336663133366534303361366161313534623634
+31616233333031386530343065313032623663623366303330363766373037636336393434663462
+66613334656638373131636238633763643565646638346138306235383731633835663231616533
+32666430396664366565626532366232313535336438393939646532663836316235613361323435
+62363635363532306533346464313630643432613966383832623130393364633936646235363831
+66333531346165373630313663383935303838623963346466373939376261333337326565353365
+38623664333738333135636330306137393161343436366361623366323462333264323562623532
+32643461663361383566313734373238396166373162666434323335353338323764353637346231
+33336134623133326130353730303032663135326662376336626266646434663166343535393161
+38343562643236373939653366333231326361373362356136326334313032323135623139373936
+36376139333433663962393361613639376361393162643134373636396463666435663339353962
+39336562616437393635373333323162383936303365303733363365393335353138316231316162
+38313836343838663638653561376539393139663064643564393466313431373664346334313362
+3836