More pga configurations for scigap production deployment
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/1bf6e77e Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/1bf6e77e Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/1bf6e77e Branch: refs/heads/develop Commit: 1bf6e77e992f0cc25616bdedebf3314136054d3a Parents: 7f8272d Author: Marcus Christie <[email protected]> Authored: Fri Apr 7 13:30:08 2017 -0400 Committer: Marcus Christie <[email protected]> Committed: Fri Apr 7 13:30:08 2017 -0400 ---------------------------------------------------------------------- .../production/pga_config/brandeis/vars.yml | 52 ++++++++++++++++++ .../production/pga_config/brandeis/vault.yml | 18 +++++++ .../production/pga_config/cinetvtech/vars.yml | 56 ++++++++++++++++++++ .../production/pga_config/cinetvtech/vault.yml | 18 +++++++ .../production/pga_config/georgiastate/vars.yml | 56 ++++++++++++++++++++ .../pga_config/georgiastate/vault.yml | 18 +++++++ .../scigap/production/pga_config/lsu/vars.yml | 52 ++++++++++++++++++ .../scigap/production/pga_config/lsu/vault.yml | 18 +++++++ .../production/pga_config/southdakota/vars.yml | 56 ++++++++++++++++++++ .../production/pga_config/southdakota/vault.yml | 18 +++++++ .../pga_config/southernillinois/vars.yml | 56 ++++++++++++++++++++ .../pga_config/southernillinois/vault.yml | 18 +++++++ .../scigap/production/pga_config/utah/vars.yml | 56 ++++++++++++++++++++ .../scigap/production/pga_config/utah/vault.yml | 18 +++++++ dev-tools/ansible/pga-scigap-prod.yml | 17 ++++-- dev-tools/ansible/roles/pga/tasks/main.yml | 2 +- 16 files changed, 523 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/1bf6e77e/dev-tools/ansible/inventories/scigap/production/pga_config/brandeis/vars.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/brandeis/vars.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/brandeis/vars.yml new file mode 100644 index 0000000..0d4dd60 --- /dev/null +++ b/dev-tools/ansible/inventories/scigap/production/pga_config/brandeis/vars.yml @@ -0,0 +1,52 @@ +# +# +# 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/brandeis" +vhost_servername: "sciencegateway.sci.brandeis.edu" +vhost_ssl: False + +## WSO2 IS related variables +tenant_domain: "airavata.brandeis" +admin_username: "adminuser" +admin_password: "{{ vault_admin_password }}" +oauth_client_key: "{{ vault_oauth_client_key }}" +oauth_client_secret: "{{ vault_oauth_client_secret }}" + +gateway_id: "brandeis" +# relative to document root dir +experiment_data_dir: "{{ user_data_dir }}/brandeis" +# TODO: this is only for testing, we'll need to update this again during the real migration +gateway_data_store_resource_id: "gf4.ucs.indiana.edu_71a8409a-0713-4a45-985f-22847f63df4e" +gateway_data_store_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCnenzHr90GmK9nGzUFVr2Xt0F8dVtqFTU/nSpEK22M0LcBWDJuX2lGw6tz/gU+j5SRAEu2HJnHb67DbvPG+DAEiCYf4sm94GBHljGjySlvDzC8uZGmOzRE3KCzDan5XnHHHQqXL+HJAOzkODVLhxEpN0AOq90Q+Og+vhJlmGJk6WIdjebBfVd0xcHp0nKFzB54F7f0cVubnt5XOE6rMZTb812RSHIIWVk1s5StVbpiDZMzwRJ4tBd1Oe+4DVSTJyn6SdEN18x2KoFeR6BrM8L5QiXhR8GhXj8MyoQLF5+m6q9Drp76n3qw2GMjGgmC8jdwFFOKRiIKM47u9sGrtljX" + +## Portal related variables +super_admin_portal: "false" +admin_emails: "['[email protected]', '[email protected]']" +portal_email_username: "[email protected]" +portal_email_password: "{{ vault_portal_email_password }}" +portal_theme: "base" +#portal_theme_repo: "" +portal_title: "Brandeis University Science Gateway" +... http://git-wip-us.apache.org/repos/asf/airavata/blob/1bf6e77e/dev-tools/ansible/inventories/scigap/production/pga_config/brandeis/vault.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/brandeis/vault.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/brandeis/vault.yml new file mode 100644 index 0000000..3c4544c --- /dev/null +++ b/dev-tools/ansible/inventories/scigap/production/pga_config/brandeis/vault.yml @@ -0,0 +1,18 @@ +$ANSIBLE_VAULT;1.1;AES256 +33623763666132613862343931393731313066376663366536373338313734313932653430313233 +3566663033376334313238353133353664333464633065380a383735313737626139386634316230 +64663165636434386134306666633936316638373131396630346333393731343862343136663031 +3433663064326161640a643266633334333635656261346131666163356137336133386138613665 +63336466343132353066303039643763313834343933343263333730393237653962313630656135 +63333166373666616138316663393339623631313532396439313238663139613537653339323563 +64643261333234373938333465633366303866383061343030626137653664393566626435323831 +32653832353535663435363532376336633663633337366630623235383030623865666566653634 +30386137356462623563336631633033343039343866336334393537636430363065396566393861 +30333962653337623736303563663930373866643165653034383530353236366532393761376231 +33656534356336643736396534613264613738323233613636656663633933356562383864383332 +66636233656534646532333135653666343535653035306365363666616135303237623261623063 +35643235653462323034646533313934613538643864343264666631393332643239303139653436 +63643737306661623534363630663338376234633530333565646533376632343135663662373562 +65363233373739363961373632653363303439326531346561653166666236363733353833653436 +61363536633563653233346666656630663630643837343063303937663666666633326461633432 +31373663643233336133646661396636666538326334396663646666623533656463 http://git-wip-us.apache.org/repos/asf/airavata/blob/1bf6e77e/dev-tools/ansible/inventories/scigap/production/pga_config/cinetvtech/vars.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/cinetvtech/vars.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/cinetvtech/vars.yml new file mode 100644 index 0000000..118516e --- /dev/null +++ b/dev-tools/ansible/inventories/scigap/production/pga_config/cinetvtech/vars.yml @@ -0,0 +1,56 @@ +# +# +# 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/cinet-virginiatech" +vhost_servername: "cinet.scigap.org" +vhost_ssl: True +# TODO: have Ansible manage these files as well +ssl_certificate_file: "/etc/letsencrypt/live/cinet.scigap.org/cert.pem" +ssl_certificate_chain_file: "/etc/letsencrypt/live/cinet.scigap.org/fullchain.pem" +ssl_certificate_key_file: "/etc/letsencrypt/live/cinet.scigap.org/privkey.pem" + +## WSO2 IS related variables +tenant_domain: "airavata.cinet" +admin_username: "adminuser" +admin_password: "{{ vault_admin_password }}" +oauth_client_key: "{{ vault_oauth_client_key }}" +oauth_client_secret: "{{ vault_oauth_client_secret }}" + +gateway_id: "cinetvtech" +# relative to document root dir +experiment_data_dir: "{{ user_data_dir }}/cinet-virginiatech" +# TODO: this is only for testing, we'll need to update this again during the real migration +gateway_data_store_resource_id: "gf4.ucs.indiana.edu_71a8409a-0713-4a45-985f-22847f63df4e" +gateway_data_store_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCpt0ai3Z7TGUNFM8heCPsQAZJkSik+PCa3QD5ej+sApXfiZZoFdjLswXAFcRbsD4RyCMnKFQ4st9e6+1LT8nHG3dd5uHjtBI2FFBaDg5JrIAuQj40nkdCII12gbXLu4uKCjKJ3NThn/AFQjpw0TvzFLusDd7/Xb+xBpMdobHHqngDqG8Y8fA1pbHtB5BgcAuWp3TZ/s1PL5cEhS0yZ8cVBTnSYK87o6hh0Pn4tlyU29lyLRPz43aHvjkKBN0VNwJlyOtCgr+Gj4TzlRvHXgLTn7yg1w7L6/V5LFpH2cealS92qfoBJpQ9IBAi5hX4yokEopCBsXyx78+n5E2hW05xR" + +## Portal related variables +super_admin_portal: "false" +admin_emails: "['[email protected]','[email protected]']" +portal_email_username: "[email protected]" +portal_email_password: "{{ vault_portal_email_password }}" +portal_theme: "base" +#portal_theme_repo: "" +portal_title: "Virginia Tech Cinet Gateway" +... http://git-wip-us.apache.org/repos/asf/airavata/blob/1bf6e77e/dev-tools/ansible/inventories/scigap/production/pga_config/cinetvtech/vault.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/cinetvtech/vault.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/cinetvtech/vault.yml new file mode 100644 index 0000000..fad823f --- /dev/null +++ b/dev-tools/ansible/inventories/scigap/production/pga_config/cinetvtech/vault.yml @@ -0,0 +1,18 @@ +$ANSIBLE_VAULT;1.1;AES256 +65636339386334386463313731383833643234663930326231343136616236643864303761393432 +3537326331656234363161613663323665313233643661330a613636353232306131323239656339 +66626162323634653335373434373133303962323637616638333632663437373864386337323830 +3164613832393033370a383064333830633861353765633039363865326463646262306131613335 +36396564653434383239623935643334396630333030636462333439653163346634363430353064 +32333663336335623438633931613032623038333931336566393962336263626266303232303365 +62303838636635346235623437653165333639363433663330373966396365336333313631376332 +33313966643332636230663263343337303837353037643837666665613437346464326361666165 +63346535316466303731633533623439323535353962343261653537646637303262626561663266 +34313732386564616239383831653963353231333836333164663138626564313431663163373337 +35666436643939363866626135613531336634653633386165343261653038323033613366663739 +61316237393630353135663830636264363439326365643736626435626639613037373431666336 +36336636623631663131343236656262333538323030616537616361313937653738653739333862 +37356330323265353061353762623965656262323939396438383330663064386634316635303837 +31323164333933323333666466616565346633623161333536633236656261323932666562663062 +38336263323630643935306538626635363631323363373066336335383631343536623136333033 +66616533376264366535353330663866633361643262653966326339363464323866 http://git-wip-us.apache.org/repos/asf/airavata/blob/1bf6e77e/dev-tools/ansible/inventories/scigap/production/pga_config/georgiastate/vars.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/georgiastate/vars.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/georgiastate/vars.yml new file mode 100644 index 0000000..1b8f9af --- /dev/null +++ b/dev-tools/ansible/inventories/scigap/production/pga_config/georgiastate/vars.yml @@ -0,0 +1,56 @@ +# +# +# 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/georgia-state" +vhost_servername: "hpcgateway.gsu.edu" +vhost_ssl: True +# 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" + +## WSO2 IS related variables +tenant_domain: "airavata.geo" +admin_username: "adminuser" +admin_password: "{{ vault_admin_password }}" +oauth_client_key: "{{ vault_oauth_client_key }}" +oauth_client_secret: "{{ vault_oauth_client_secret }}" + +gateway_id: "georgiastate" +# relative to document root dir +experiment_data_dir: "{{ user_data_dir }}/georgia-state" +# TODO: this is only for testing, we'll need to update this again during the real migration +gateway_data_store_resource_id: "gf4.ucs.indiana.edu_71a8409a-0713-4a45-985f-22847f63df4e" +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: "['[email protected]']" +portal_email_username: "[email protected]" +portal_email_password: "{{ vault_portal_email_password }}" +portal_theme: "gsu-gateway-theme" +portal_theme_repo: "https://github.com/SciGaP/gsu-gateway-theme" +portal_title: "Georgia State PHP Gateway" +... http://git-wip-us.apache.org/repos/asf/airavata/blob/1bf6e77e/dev-tools/ansible/inventories/scigap/production/pga_config/georgiastate/vault.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/georgiastate/vault.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/georgiastate/vault.yml new file mode 100644 index 0000000..e1f603d --- /dev/null +++ b/dev-tools/ansible/inventories/scigap/production/pga_config/georgiastate/vault.yml @@ -0,0 +1,18 @@ +$ANSIBLE_VAULT;1.1;AES256 +34326538383639653666336237336337363732643064323039656334363261356563346138666634 +3639383761653239353536336564383833393664333337630a393637386266393137643864326434 +39353865343065626639393937633065666639323738306330666536356334333433356531663238 +6636396333633935390a653965396231336535336334333330303462396433643831633065663666 +30303931323438396265646662396137636235363134383430343764303136313535366535363962 +31353833303536386661643039656231343265393336613262306665656366643061666531356633 +39386431663465646365613134366433366637666531346130323839613431346530646439356131 +31663835613664396663303463646336633262653736656138323030316138656264313338616331 +66356638663739303632323062303735656637306131323134653065313065396434306132303864 +32393862393033306536363832396664333232313634663433386236613064366662336336386466 +39643463353963663062373436653465653665343462373665643734643035613434616337613738 +66626438386566656637396539373734633731643633633830636338663662313663663733373137 +64303136363239663734326335303731363066663766323338646337313863623161623434373034 +39613362366432626666363835386166313738386632343738613063643437633235333636343933 +36336337343764316534346436643562396134363936646661353366643533326135396636363636 +35303133353339613763373735633965663465383239653134643735343339616134316462633436 +66376439623564616531623963383836333633303061643965663333643634646534 http://git-wip-us.apache.org/repos/asf/airavata/blob/1bf6e77e/dev-tools/ansible/inventories/scigap/production/pga_config/lsu/vars.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/lsu/vars.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/lsu/vars.yml new file mode 100644 index 0000000..a7a8088 --- /dev/null +++ b/dev-tools/ansible/inventories/scigap/production/pga_config/lsu/vars.yml @@ -0,0 +1,52 @@ +# +# +# 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/lsu" +vhost_servername: "lsu.scigap.org" +vhost_ssl: False + +## WSO2 IS related variables +tenant_domain: "lsu.edu" +admin_username: "lsuadmin" +admin_password: "{{ vault_admin_password }}" +oauth_client_key: "{{ vault_oauth_client_key }}" +oauth_client_secret: "{{ vault_oauth_client_secret }}" + +gateway_id: "lsu" +# relative to document root dir +experiment_data_dir: "{{ user_data_dir }}/lsu" +# TODO: this is only for testing, we'll need to update this again during the real migration +gateway_data_store_resource_id: "gf4.ucs.indiana.edu_71a8409a-0713-4a45-985f-22847f63df4e" +gateway_data_store_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjusb/NsMD1BRsb0A7CEYpaaoKY+RH9bkcGOCTtJMRYgtzenOaX9egIR7AtOH3eaWjr2221QU9IOTQj2S4ZhpnC6+/eO6Lx3zHbqzG78z7U7gX6IzDjjuwrQDeDLYGfd6RoDAZk+H2/pvoNGia/AnOXHU0+x1eF795TDbyVZvA+vtDPJ4EHUfbE8GG/QzTGK8IZqUBJUd+NSzcqTs/jzTetwunN1MnTHHDOCOEgYWDTia+TMECmEq/YNy0u8Uhu1TtmXUu/vyCwjnspWBNnWjiXf0tLEnZ10HnvmH15Yhh3OERKrACaU7JqNmPDj8Vc9YIAYK1bRjmh5OrYCtxiHVF" + +## Portal related variables +super_admin_portal: "false" +admin_emails: "['[email protected]','[email protected]']" +portal_email_username: "[email protected]" +portal_email_password: "{{ vault_portal_email_password }}" +portal_theme: "base" +#portal_theme_repo: "" +portal_title: "LSU Cybergateway" +... http://git-wip-us.apache.org/repos/asf/airavata/blob/1bf6e77e/dev-tools/ansible/inventories/scigap/production/pga_config/lsu/vault.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/lsu/vault.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/lsu/vault.yml new file mode 100644 index 0000000..6613bc7 --- /dev/null +++ b/dev-tools/ansible/inventories/scigap/production/pga_config/lsu/vault.yml @@ -0,0 +1,18 @@ +$ANSIBLE_VAULT;1.1;AES256 +30666366633331643466326435353639626235333865633630363735626565323039313363373466 +6364303466313965313332656465653435663836613439340a336232363033373036393465653335 +36323461373239343964316138303265356162346631393331373639333962303238643963383065 +3066386366623366660a613534386639633362396164643131643333373234373838636337313135 +38663464326231356266666161303337383730343261373034326263376162363763623334666466 +65366135346134663132366165396638646661383962663964646536393563633166363064366662 +30653735393238363162666365333363643139376662366535613237323837396363643036646338 +31303561323035653238333338643065343637323866346437323633313364343338646139363531 +34343733356437616662396137366265393030313430326439306234623637356434326439316330 +38616338646462383865316238373732633435333363346665316462363736626531336563313730 +63323833333338313937616661313437393238313538633335353765353532623636383831353735 +64303366636362613965303435666666323432353565623038373939393434363862303835313233 +34363133663864336331613734666533373464393365346334613663323236616466613563633939 +38393362373364636335376433353035636338353131326437663938366136393336626634336230 +30336232353961396565636532303434393866623963373064396166656232333564373330626366 +61626631366139653663346230613938623064386562623932383737333163346263326635653134 +39623962323630306437643238653739313566666533393233343033643764393863 http://git-wip-us.apache.org/repos/asf/airavata/blob/1bf6e77e/dev-tools/ansible/inventories/scigap/production/pga_config/southdakota/vars.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/southdakota/vars.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/southdakota/vars.yml new file mode 100644 index 0000000..90c0d35 --- /dev/null +++ b/dev-tools/ansible/inventories/scigap/production/pga_config/southdakota/vars.yml @@ -0,0 +1,56 @@ +# +# +# 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/southdakota" +vhost_servername: "sciencegateway.usd.edu" +vhost_ssl: True +# TODO: have Ansible manage these files as well +ssl_certificate_file: "/etc/pki/tls/certs/cybergateway_usd_edu_cert.cer" +ssl_certificate_chain_file: "/etc/pki/tls/certs/cybergateway_usd_edu_interm.cer" +ssl_certificate_key_file: "/etc/pki/tls/private/cybergateway.usd.key" + +## WSO2 IS related variables +tenant_domain: "southdakota.edu" +admin_username: "usdadmin" +admin_password: "{{ vault_admin_password }}" +oauth_client_key: "{{ vault_oauth_client_key }}" +oauth_client_secret: "{{ vault_oauth_client_secret }}" + +gateway_id: "southdakota" +# relative to document root dir +experiment_data_dir: "{{ user_data_dir }}/southdakota" +# TODO: this is only for testing, we'll need to update this again during the real migration +gateway_data_store_resource_id: "gf4.ucs.indiana.edu_71a8409a-0713-4a45-985f-22847f63df4e" +gateway_data_store_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCIUqpKWHwawFHnbWvs6pie+fDA9NlqMZNvzil7e8FQz7543+FOzdTl/octACjGnSTwHewpyTe9sAUVcnq6VJ5XYtApR68zMasEzyCZUMWhMqEuxopRZcUGDJVcq5hD4RZcer3aMPWSVmXVCNJeT4EsB52Zp2DfDVgfaOOfY8Ga4mcR2IdOyizV8HWXTH6vWFK+dD1GoPY0ECikwlsF1QA0vzqAcb1NYOTc70hZ9Pb0/78XF790joZ80hRsHGIc7IfncoLgRUkKSkMaoXbfy/tbqf76V0ZxaQOgayaLGF19oBlREO6ZQ3rDCOWgVJC32dCwAsaL9qWd0IZrprUEUQOd" + +## Portal related variables +super_admin_portal: "false" +admin_emails: "['[email protected]','[email protected]','[email protected]']" +portal_email_username: "[email protected]" +portal_email_password: "{{ vault_portal_email_password }}" +portal_theme: "usd-cybergateway-theme" +portal_theme_repo: "https://github.com/SciGaP/usd-cybergateway-theme.git" +portal_title: "South Dakota Cybergateway" +... http://git-wip-us.apache.org/repos/asf/airavata/blob/1bf6e77e/dev-tools/ansible/inventories/scigap/production/pga_config/southdakota/vault.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/southdakota/vault.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/southdakota/vault.yml new file mode 100644 index 0000000..26eb97b --- /dev/null +++ b/dev-tools/ansible/inventories/scigap/production/pga_config/southdakota/vault.yml @@ -0,0 +1,18 @@ +$ANSIBLE_VAULT;1.1;AES256 +65646530306630303662386462346234366661303538613365633738336535653761656263353763 +3032393530373163346364636238386431326363626562300a303930303663646361366634363737 +33396531656231663432623464646366653631303862396137643937373562633738653335626431 +6632666632323536320a383433396534623839303761376162393166393962393731356531323435 +61666538663864663762386336313035393831343632393831663563643237303034663139633537 +38663263363765363964393463356136366531633632303836333138643063323463616133353034 +33626665393936656562656537343464346131396238396665363231333761653931363862383061 +61363261326163386335663933326230633830323533616632353339346365613934633736373235 +34623566633761313831353833303962623839333130313765626639666439383132623338303036 +36356432393530343566316262353163643131663338343163623535613937343035343734636635 +30633939356365326661316633383231353438376162326637653866616332303064383636303137 +35366639303435643861323035343330373666343038353633636639303932373236343366323232 +31313661623761333931353831383235346239653236646665353130346163666363633836363230 +39636164366462343161313139666134643033663030313637653263353333663233626662393562 +66393661613662393965623139343537303863663262663435303630346265393737623563663464 +36636262356433326232383038363735383733623766613238613431643830353864623631643062 +3033 http://git-wip-us.apache.org/repos/asf/airavata/blob/1bf6e77e/dev-tools/ansible/inventories/scigap/production/pga_config/southernillinois/vars.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/southernillinois/vars.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/southernillinois/vars.yml new file mode 100644 index 0000000..60f9a11 --- /dev/null +++ b/dev-tools/ansible/inventories/scigap/production/pga_config/southernillinois/vars.yml @@ -0,0 +1,56 @@ +# +# +# 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/southernillinois" +vhost_servername: "sciencegateway.siu.edu" +vhost_ssl: True +# TODO: have Ansible manage these files as well +ssl_certificate_file: "/etc/letsencrypt/live/sciencegateway.siu.edu/cert.pem" +ssl_certificate_chain_file: "/etc/letsencrypt/live/sciencegateway.siu.edu/fullchain.pem" +ssl_certificate_key_file: "/etc/letsencrypt/live/sciencegateway.siu.edu/privkey.pem" + +## WSO2 IS related variables +tenant_domain: "airavata.southill" +admin_username: "admin" +admin_password: "{{ vault_admin_password }}" +oauth_client_key: "{{ vault_oauth_client_key }}" +oauth_client_secret: "{{ vault_oauth_client_secret }}" + +gateway_id: "southill" +# relative to document root dir +experiment_data_dir: "{{ user_data_dir }}/southernillinois" +# TODO: this is only for testing, we'll need to update this again during the real migration +gateway_data_store_resource_id: "gf4.ucs.indiana.edu_71a8409a-0713-4a45-985f-22847f63df4e" +gateway_data_store_ssh_public_key: "" + +## Portal related variables +super_admin_portal: "false" +admin_emails: "['[email protected]']" +portal_email_username: "[email protected]" +portal_email_password: "{{ vault_portal_email_password }}" +portal_theme: "base" +#portal_theme_repo: "" +portal_title: "Southern Illinois PHP Gateway" +... http://git-wip-us.apache.org/repos/asf/airavata/blob/1bf6e77e/dev-tools/ansible/inventories/scigap/production/pga_config/southernillinois/vault.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/southernillinois/vault.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/southernillinois/vault.yml new file mode 100644 index 0000000..9dab6a3 --- /dev/null +++ b/dev-tools/ansible/inventories/scigap/production/pga_config/southernillinois/vault.yml @@ -0,0 +1,18 @@ +$ANSIBLE_VAULT;1.1;AES256 +37323664643139643032373161333135636633346230346562613236313036326430323636343837 +6432656261326363653632613431323834373566336337630a616565353966383166353435626662 +31656638376633633736333335393039646161303366323164636431343334383166633464336561 +3533353662643637330a313630663232616435333464353930366561346433376438356134633037 +36313932633439346330366238303730643663663035393563333330613438333832396266356634 +66313238356237383336313465343765656365623865616262316132396338373234666535646266 +32663165646238666538333365613438623363336436646334633434333435373039613338383639 +30323537653230656233346565313464333730633734613138633036633632333231373066623736 +65313433623862346537633461613932326631323337383065366631346139666164316337616338 +38303063353834393937366431313566336636373961323165313862393832626431373261656364 +34323534663836653761643562333933666330313730343836336634303161363664613835336538 +30333135633135323437386566346136623635316565363764333162316530643265303533373264 +37306433356635616266316539336437623536616466353762333034643962356539623130343665 +31666639316231303130373566373030343335616266396464363431343937346234623466383735 +32313730323231366232623833396537343032636633343931353539616339613961666433326130 +61316135313531633534303262393632653732313935616334616430373561623461363163343830 +62663166316161656635656566393964323932383633306539653237373232373165 http://git-wip-us.apache.org/repos/asf/airavata/blob/1bf6e77e/dev-tools/ansible/inventories/scigap/production/pga_config/utah/vars.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/utah/vars.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/utah/vars.yml new file mode 100644 index 0000000..3513adf --- /dev/null +++ b/dev-tools/ansible/inventories/scigap/production/pga_config/utah/vars.yml @@ -0,0 +1,56 @@ +# +# +# 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/utah-university" +vhost_servername: "cybergateway.chpc.utah.edu" +vhost_ssl: True +# TODO: have Ansible manage these files as well +ssl_certificate_file: "/etc/letsencrypt/live/cybergateway.chpc.utah.edu/cert.pem" +ssl_certificate_chain_file: "/etc/letsencrypt/live/cybergateway.chpc.utah.edu/fullchain.pem" +ssl_certificate_key_file: "/etc/letsencrypt/live/cybergateway.chpc.utah.edu/privkey.pem" + +## WSO2 IS related variables +tenant_domain: "airavata.utah" +admin_username: "adminuser" +admin_password: "{{ vault_admin_password }}" +oauth_client_key: "{{ vault_oauth_client_key }}" +oauth_client_secret: "{{ vault_oauth_client_secret }}" + +gateway_id: "utah" +# relative to document root dir +experiment_data_dir: "{{ user_data_dir }}/utah-university" +# TODO: this is only for testing, we'll need to update this again during the real migration +gateway_data_store_resource_id: "gf4.ucs.indiana.edu_71a8409a-0713-4a45-985f-22847f63df4e" +gateway_data_store_ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCiR1OU3jrSqoDxkieAQuB4YXnEllg+74h9nWKXSa7G6S8BDuSOVQl6YFdk1nCpJ9pGEoCziYa+fgTmQ98eXFEaXglRyu2Cq7HkPgKnBR5xtsx+Qslm/jBxO2C/kez7eGJH8F8bSOq6o4hUsPP8XUdzvf76o+wZ25RErqzQl1Go8E1sOi4fXkH4eR8cCsI093ZquuUgwIZjoqcj+bwCRoZWCqyOhXEzYqZmng4EvBm3VnPf77xdVxAZELDd7oKiTf4y1cEExIJyQJqwCJJjic9Utuf13lEROfnV2nELf1YdaLwWoFKJgc+bBaoxxxoo1hdKW7hFQDmgHCWASSIX0fx/" + +## Portal related variables +super_admin_portal: "false" +admin_emails: "['[email protected]']" +portal_email_username: "[email protected]" +portal_email_password: "{{ vault_portal_email_password }}" +portal_theme: "base" +#portal_theme_repo: "" +portal_title: "Utah Gateway" +... http://git-wip-us.apache.org/repos/asf/airavata/blob/1bf6e77e/dev-tools/ansible/inventories/scigap/production/pga_config/utah/vault.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/utah/vault.yml b/dev-tools/ansible/inventories/scigap/production/pga_config/utah/vault.yml new file mode 100644 index 0000000..7f188388 --- /dev/null +++ b/dev-tools/ansible/inventories/scigap/production/pga_config/utah/vault.yml @@ -0,0 +1,18 @@ +$ANSIBLE_VAULT;1.1;AES256 +32393264363338303162363535326338376461633762376363326364363833356638316138383436 +3764313937636538303635623739623337386331613732360a643461323435356434353864646330 +30623964663261656235633765306139343561376264623737373063626263333836623361363361 +6266626666613937660a636338353462656362333734666436343431393266333661316330356333 +63613061363235336333366262623733333630386337353165316536323566313263653462353730 +31393437646138643734653536643866383230643136646138323137386432636331386333626135 +61346233636639636165626262626535316166356661666639623730643164303561313165303064 +32643138646666356634656364646234356238356235383937393461326634613136313135363966 +31343861333261666666666165333163663837653239376331386633613633656632346266346163 +63353764626566616130393638633137373563383238623464306366663536306661623134343231 +31303839353630376364336564346436383031313035393633346361333865393430306163653461 +31623535396466323230633032373265656631396437616236356336313662626333613366393736 +64666264313563616633653862363132633734343532303761343330363634363064316661626662 +62346164353864316665356664383638386436653336396266613834613533396164366339353964 +36386235396133626630336538656139383139343862316462373434353434666632376666613465 +64613830346138666530333632396434636264623835653138636139383261336636383932653132 +38383061323031323135323432633731303663346236336438373732353363303461 http://git-wip-us.apache.org/repos/asf/airavata/blob/1bf6e77e/dev-tools/ansible/pga-scigap-prod.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/pga-scigap-prod.yml b/dev-tools/ansible/pga-scigap-prod.yml index f5d5bd2..a4192b5 100644 --- a/dev-tools/ansible/pga-scigap-prod.yml +++ b/dev-tools/ansible/pga-scigap-prod.yml @@ -19,14 +19,21 @@ # --- -- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/seagrid" -- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/testdrive" -- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/scigap" +- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/brandeis" +- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/cinetvtech" +- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/georgiastate" - include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/iugateway" -- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/phasta" +- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/lsu" - include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/nsg" -- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/oscer" - include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/oiitandy" +- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/oscer" +- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/phasta" +- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/scigap" +- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/seagrid" - include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/simvascular" +- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/southdakota" +- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/southernillinois" +- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/testdrive" +- include: pga-single-vhost.yml vars_dir="{{ inventory_dir }}/pga_config/utah" ... http://git-wip-us.apache.org/repos/asf/airavata/blob/1bf6e77e/dev-tools/ansible/roles/pga/tasks/main.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/roles/pga/tasks/main.yml b/dev-tools/ansible/roles/pga/tasks/main.yml index 4ded1f4..dff3002 100644 --- a/dev-tools/ansible/roles/pga/tasks/main.yml +++ b/dev-tools/ansible/roles/pga/tasks/main.yml @@ -75,7 +75,7 @@ dest: "{{ doc_root_dir }}/public/themes/{{ portal_theme }}" version: "master" update: yes - when: portal_theme_repo != "" + when: portal_theme != "base" - name: give read permissions to doc root file: path="{{ doc_root_dir }}" state=directory mode=a+rX recurse=yes
