This is an automated email from the ASF dual-hosted git repository. machristie pushed a commit to branch staging in repository https://gitbox.apache.org/repos/asf/airavata.git
commit 68999eb25dfe0a0bebb793451acc130c5027e229 Author: Marcus Christie <machris...@apache.org> AuthorDate: Wed Apr 18 14:59:38 2018 -0400 Staging PGA Ansible config --- .../scigap/staging/pga_config/ultrascan/vars.yml | 66 ++++++++++++++++++++++ .../scigap/staging/pga_config/ultrascan/vault.yml | 18 ++++++ dev-tools/ansible/pga-scigap-staging.yml | 23 ++++++++ 3 files changed, 107 insertions(+) diff --git a/dev-tools/ansible/inventories/scigap/staging/pga_config/ultrascan/vars.yml b/dev-tools/ansible/inventories/scigap/staging/pga_config/ultrascan/vars.yml new file mode 100644 index 0000000..670f895 --- /dev/null +++ b/dev-tools/ansible/inventories/scigap/staging/pga_config/ultrascan/vars.yml @@ -0,0 +1,66 @@ +# +# +# 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: "staging.ultrascan.scigap.org" +vhost_ssl: True +ssl_certificate_file: "/etc/letsencrypt/live/staging.ultrascan.scigap.org/cert.pem" +ssl_certificate_chain_file: "/etc/letsencrypt/live/staging.ultrascan.scigap.org/fullchain.pem" +ssl_certificate_key_file: "/etc/letsencrypt/live/staging.ultrascan.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: "Ultrascan Gateway" + 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: "https://{{ vhost_servername }}/callback-url" + +gateway_id: "ultrascan" +# relative to document root dir +experiment_data_dir: "{{ user_data_dir }}/ultrascan" +gateway_data_store_resource_id: "pga.staging.scigap.org_aa63ffa0-a99f-4885-8f4b-81e3c4c4d737" +gateway_data_store_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCqFFN7+93U5cELQCdZl+XiXmFxiSnQDXJaIdTKML3X/KU/0GkwUOBkrKVJaJEgpt+cSPLIg/qM4nVjt3iTfBIx9SPb6q8sHxSKnnNS/mfFvSOn/mxdNVgqNgTlqRy5axaeTn8wxa0afihZZLhU0MvUl0rrAcsR2gBU2zWeE9t+gj/HQ5D/dNmKQUJpexyY79RQi6mDwUPwHPXcLs+6YrJ68kpjmGQgGXUvCK/29neRvKpOXKds8E1kaa9nouxiQDCwAQKtqg8VAtfgMOX8gjur9DC1s45Ryjv+bLDuQ7MFMf5wEWg6QKSYoF94/JX3bC9nVjlL2wGX9HsWPDpWY2K5" +data_sharing_enabled: "false" + +## Portal related variables +super_admin_portal: "true" +admin_emails: "['sgrc-iu-gr...@iu.edu']" +portal_email_username: "pga.airav...@gmail.com" +portal_email_password: "{{ vault_portal_email_password }}" +portal_theme: "base" +portal_title: "Dev Ultrascan SciGaP Dashboard" +... + + diff --git a/dev-tools/ansible/inventories/scigap/staging/pga_config/ultrascan/vault.yml b/dev-tools/ansible/inventories/scigap/staging/pga_config/ultrascan/vault.yml new file mode 100644 index 0000000..f26d6f7 --- /dev/null +++ b/dev-tools/ansible/inventories/scigap/staging/pga_config/ultrascan/vault.yml @@ -0,0 +1,18 @@ +$ANSIBLE_VAULT;1.1;AES256 +62623564396339653035663030366136343331363639643533386336646138646665346162393138 +3766653338323031626433346664643861313134306663610a613161376332313230633834396263 +39373533666263643439323035353134326438306234613636373337653639373762386237663831 +6139646232313737310a393535333662396535613434633532363038373933643835346236323935 +37653162613031643439613238316632643033396236653233356165653038316630643337313135 +39336266333735643063623666613634316636396134376264626638626161666232656163363266 +61616539363035363162616338633830386432643737396532373534656135306636316130306432 +37663762336163303561346633323466633765633465633937616131363739353536636134626230 +34353465323964656366643833303039336164626630373334653563343766383564313138623034 +38373239383936356634663162373063646165656630383134396163366561626634633565643566 +39663861343936306363313035343463353962653236663263313335303732663233306662393230 +32623635396339623035383233343434333561373164623138326161303334643063373865356166 +30626531373035653036383061366632616239626462336565383031623466333862353434386363 +33666135366164343136666637636665353031393739626463646663373765363366366664663062 +34316630613761306466356137643730396161616432656437336565373231336636653233636535 +34623734616461653837303431653139383564303837623761393762383633653264323431613532 +3332 diff --git a/dev-tools/ansible/pga-scigap-staging.yml b/dev-tools/ansible/pga-scigap-staging.yml new file mode 100644 index 0000000..c9cceba --- /dev/null +++ b/dev-tools/ansible/pga-scigap-staging.yml @@ -0,0 +1,23 @@ +# +# +# 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. +# + +--- +- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/ultrascan" +... -- To stop receiving notification emails like this one, please contact machris...@apache.org.