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 2017/08/03 16:01:50 UTC

[34/50] [abbrv] airavata git commit: UAB and NMSU Gateway Ansible Scripts

UAB and NMSU Gateway Ansible Scripts


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/fa868f54
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/fa868f54
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/fa868f54

Branch: refs/heads/master
Commit: fa868f5476e6bb520ba697ee035c2c18e8764a66
Parents: f43c761
Author: Suresh Marru <sm...@apache.org>
Authored: Thu Jul 13 14:50:54 2017 -0500
Committer: Suresh Marru <sm...@apache.org>
Committed: Thu Jul 13 14:50:54 2017 -0500

----------------------------------------------------------------------
 .../pga_config/newmexicostate/vars.yml          | 61 ++++++++++++++++++++
 .../pga_config/newmexicostate/vault.yml         | 18 ++++++
 .../scigap/production/pga_config/uab/vars.yml   | 61 ++++++++++++++++++++
 .../scigap/production/pga_config/uab/vault.yml  | 18 ++++++
 4 files changed, 158 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/fa868f54/dev-tools/ansible/inventories/scigap/production/pga_config/newmexicostate/vars.yml
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/newmexicostate/vars.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/newmexicostate/vars.yml
new file mode 100644
index 0000000..52b38a9
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/production/pga_config/newmexicostate/vars.yml
@@ -0,0 +1,61 @@
+#
+#
+# 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: "develop"
+user: "pga"
+group: "pga"
+doc_root_dir: "/var/www/portals/new-mexico-state"
+vhost_servername: "nmsu.scigap.org"
+vhost_ssl: False
+# TODO: have Ansible manage these files as well
+#ssl_certificate_file: "/etc/letsencrypt/live/hpcgateway.gsu.edu/cert.pem"
+#ssl_certificate_chain_file: "/etc/letsencrypt/live/hpcgateway.gsu.edu/fullchain.pem"
+#ssl_certificate_key_file: "/etc/letsencrypt/live/hpcgateway.gsu.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: "New Mexico State Science Gateway"
+    oauth_grant_type: "password"
+oauth_callback_url: "https://{{ vhost_servername }}/callback-url"
+
+gateway_id: "new-mexico-state"
+# relative to document root dir
+experiment_data_dir: "{{ user_data_dir }}/new-mexico-state"
+gateway_data_store_resource_id: "gf4.ucs.indiana.edu_61552681-96f0-462a-a36c-a62a010bffc6"
+gateway_data_store_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCFSg9IEgsXlGhgPkj4hPuON30rbE3/gUUn4K3NVvBFKLyQQ8Pm/NR6dZmFglQR1HxBRSnq4WmH3EVyxHuT7MkQDAjTkclEuhaRjcYN0nua8g4dI9SgO9DeqbOyurVIuw/YChP5nC+6/ubMyzYPr6Z5xU5QHZI/QlVG4nz3joMIKkRXt/bsaEvv+/nzED/j6FTdK6P6dg1ESkNVZUPqhtWpwuC28Et7/86jcEObJedwx8geLoxKogPZ6kqO+Q/WUHDtMpFYtwuPaiYuN3Pb/GCvnDRsSoFmtRU+UH1UIdEy0piYUuBW+5aCv/PbH/UtHFg1Y1942TYCXv4rl1i/KW1z"
+
+## Portal related variables
+super_admin_portal: "false"
+admin_emails: "['sgg@iu.edu', 'dugasdvt@ad.nmsu.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: "New Mexico State Science Gateway"
+...

http://git-wip-us.apache.org/repos/asf/airavata/blob/fa868f54/dev-tools/ansible/inventories/scigap/production/pga_config/newmexicostate/vault.yml
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/newmexicostate/vault.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/newmexicostate/vault.yml
new file mode 100644
index 0000000..5d17cd8
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/production/pga_config/newmexicostate/vault.yml
@@ -0,0 +1,18 @@
+$ANSIBLE_VAULT;1.1;AES256
+64613132613630656638656166613930333366313665383361393130633164633231333932303838
+6438616530626438636131623839303839333366383737630a313238633630323935316330303735
+66373631393039313238633165393330633337393665343332373065666166643235636539303865
+3563653462633766300a626233373030646561613632306331346464666135383565343732363462
+33316635383534346634346137323433343239366662333762356534396233346665376666306638
+61336332636361333566366366326161636130306439656639316165353065363430666231333062
+39376563353862333262656235313763303636396235313661333564383437323531376332326161
+64616566373739666238303531393339643338633262316335396433626133353339643239343863
+36353965623739333833643335336662396164303866333832666166393836356663353331323261
+35653761663035373039653434653462363433323066323235616264346562643661373436393939
+38336134646334333166656136303132333065356633356664323066363031336333656532373931
+66633837633937323539643039356137366638346362323761343234343664386130393734333165
+37356139636664353534353665666535306365636165363830633236343535313138336435343736
+64343862303863666138303066626366623362313962363438376533613333353739633765326464
+36306337386138643036316237646236636633373163366238303763646663613533646139333464
+38373335373466313865663465663836396331633963613331656135653836313861333831343262
+3564

http://git-wip-us.apache.org/repos/asf/airavata/blob/fa868f54/dev-tools/ansible/inventories/scigap/production/pga_config/uab/vars.yml
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/uab/vars.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/uab/vars.yml
new file mode 100644
index 0000000..c838723
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/production/pga_config/uab/vars.yml
@@ -0,0 +1,61 @@
+#
+#
+# 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: "develop"
+user: "pga"
+group: "pga"
+doc_root_dir: "/var/www/portals/alabama-birmingham"
+vhost_servername: "uab.scigap.org"
+vhost_ssl: False
+# TODO: have Ansible manage these files as well
+#ssl_certificate_file: "/etc/letsencrypt/live/hpcgateway.gsu.edu/cert.pem"
+#ssl_certificate_chain_file: "/etc/letsencrypt/live/hpcgateway.gsu.edu/fullchain.pem"
+#ssl_certificate_key_file: "/etc/letsencrypt/live/hpcgateway.gsu.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: "The University of Alabama at Birmingham Science Gateway"
+    oauth_grant_type: "password"
+oauth_callback_url: "https://{{ vhost_servername }}/callback-url"
+
+gateway_id: "alabama-birmingham"
+# relative to document root dir
+experiment_data_dir: "{{ user_data_dir }}/alabama-birmingham"
+gateway_data_store_resource_id: "gf4.ucs.indiana.edu_61552681-96f0-462a-a36c-a62a010bffc6"
+gateway_data_store_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCFSg9IEgsXlGhgPkj4hPuON30rbE3/gUUn4K3NVvBFKLyQQ8Pm/NR6dZmFglQR1HxBRSnq4WmH3EVyxHuT7MkQDAjTkclEuhaRjcYN0nua8g4dI9SgO9DeqbOyurVIuw/YChP5nC+6/ubMyzYPr6Z5xU5QHZI/QlVG4nz3joMIKkRXt/bsaEvv+/nzED/j6FTdK6P6dg1ESkNVZUPqhtWpwuC28Et7/86jcEObJedwx8geLoxKogPZ6kqO+Q/WUHDtMpFYtwuPaiYuN3Pb/GCvnDRsSoFmtRU+UH1UIdEy0piYUuBW+5aCv/PbH/UtHFg1Y1942TYCXv4rl1i/KW1z"
+
+## Portal related variables
+super_admin_portal: "false"
+admin_emails: "['sgg@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: "University of Alabama at Birmingham Science Gateway"
+...

http://git-wip-us.apache.org/repos/asf/airavata/blob/fa868f54/dev-tools/ansible/inventories/scigap/production/pga_config/uab/vault.yml
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/uab/vault.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/uab/vault.yml
new file mode 100644
index 0000000..9774028
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/production/pga_config/uab/vault.yml
@@ -0,0 +1,18 @@
+$ANSIBLE_VAULT;1.1;AES256
+61613632623766383839336665333433343137356461613266656464333261366565653663386339
+3533613637626266663962646635326365313931386562360a356433353233323238666462366538
+61376332616662333733353961633165396437633533623364376161636661663535363839353236
+3434366337663666330a656531363033316264373335396663306264343138643839333766623339
+38626665613835666565393863633566396466653330373232363231613332306232396238386631
+37316433633339336437626636363762663938313938663737343564313430373736376665303461
+38666161656332306339613337373238626130626664636535383938623637373831333439616161
+63376234616135353834343064353238383161613731396162366532326665376636306462613331
+66346530613033383830353630333562303363353064633131343432306235343663313764363038
+37323762373766336466373239396235623130383165616462373831323735646165363764313439
+37623636383934383736393061353631316634303963333438616234636132356630326236623265
+63323635313432656534383034386334323734366430653437386333613037333031613264343238
+32373062356632633661653364623538383138353464373830353138396261626438623933316137
+33363933633535656636353738326432393461326632343039326264336534643031346236643930
+62386431306562656436376664626664626464326130316233313032376435396364663438353634
+66343832623935623631663965613739636135646539333332316566393030373434363463373932
+3963