airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [39/50] [abbrv] airavata git commit: Ultrascan pga configuration
Date Fri, 28 Apr 2017 15:23:20 GMT
Ultrascan pga configuration


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

Branch: refs/heads/develop
Commit: c99687f993992c402cb722acc2237b02245509b5
Parents: 57cb2ae
Author: Marcus Christie <machristie@apache.org>
Authored: Wed Apr 26 14:16:40 2017 -0400
Committer: Marcus Christie <machristie@apache.org>
Committed: Wed Apr 26 14:16:40 2017 -0400

----------------------------------------------------------------------
 .../production/pga_config/ultrascan/vars.yml    | 62 ++++++++++++++++++++
 .../production/pga_config/ultrascan/vault.yml   | 18 ++++++
 dev-tools/ansible/roles/pga/tasks/main.yml      |  4 +-
 3 files changed, 82 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/c99687f9/dev-tools/ansible/inventories/scigap/production/pga_config/ultrascan/vars.yml
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/ultrascan/vars.yml
b/dev-tools/ansible/inventories/scigap/production/pga_config/ultrascan/vars.yml
new file mode 100644
index 0000000..2548cb8
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/production/pga_config/ultrascan/vars.yml
@@ -0,0 +1,62 @@
+#
+#
+# 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.
+#
+
+---
+
+# NOTE Ultrascan is pointed to gw153
+airavata_server: "gw153.iu.xsede.org"
+airavata_port: "8930"
+
+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: "ultrascan.scigap.org"
+vhost_ssl: True
+# TODO: have Ansible manage these files as well
+ssl_certificate_file: "/etc/pki/tls/certs/ultrascan_scigap_org_cert.cer"
+ssl_certificate_chain_file: "/etc/pki/tls/certs/ultrascan_scigap_org_interm.cer"
+ssl_certificate_key_file: "/etc/pki/tls/private/ultrascan.scigap.key"
+
+## WSO2 IS related variables
+tenant_domain: "prod.ultrascan"
+admin_username: "uslimsadmin"
+admin_password: "{{ vault_admin_password }}"
+oauth_client_key: "{{ vault_oauth_client_key }}"
+oauth_client_secret: "{{ vault_oauth_client_secret }}"
+
+user_role_name: "airavata-user"
+
+gateway_id: "Ultrascan_Production"
+# relative to document root dir
+experiment_data_dir: "{{ user_data_dir }}/ultrascan"
+gateway_data_store_resource_id: "gf4.ucs.indiana.edu_61552681-96f0-462a-a36c-a62a010bffc6"
+# Not using gateway storage right now
+#gateway_data_store_ssh_public_key: ""
+
+## Portal related variables
+super_admin_portal: "true"
+admin_emails: "['eroma.abeysinghe@gmail.com','sgg@iu.edu']"
+portal_email_username: "pga.airavata@gmail.com"
+portal_email_password: "{{ vault_portal_email_password }}"
+portal_theme: "base"
+portal_title: "Ultrascan SciGaP Dashboard"
+...

http://git-wip-us.apache.org/repos/asf/airavata/blob/c99687f9/dev-tools/ansible/inventories/scigap/production/pga_config/ultrascan/vault.yml
----------------------------------------------------------------------
diff --git a/dev-tools/ansible/inventories/scigap/production/pga_config/ultrascan/vault.yml
b/dev-tools/ansible/inventories/scigap/production/pga_config/ultrascan/vault.yml
new file mode 100644
index 0000000..d8a11b1
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/production/pga_config/ultrascan/vault.yml
@@ -0,0 +1,18 @@
+$ANSIBLE_VAULT;1.1;AES256
+32646566346165633263613063613465353634316261333737653431646232653433346636616635
+3136393565636162623536376661386138383733393637610a646138353030353138373739393839
+64353833616133633431333032306635333630313835333865313031363733373436303266616466
+3863366437643233630a366265316631336162623666303064343861646234326132663863346236
+63313364303063636136666365343164616336613837373133376232343165666139316165663961
+30316435313838656437346437363365663835656138353937643238363564373363623965336262
+34383964383363323862353932363538613432373765383762323138343435333239663939373533
+62373264353763363666623063393934376631336133623237353365663365303063366233336131
+30373836353566643430336436646138633237356265306438383937393937646234663831336436
+38616438663836313866393563363036396131373164616563653162333835656130376132316430
+65353864313337303366386566646435643065636662316563333734383432346431373536356533
+36393131383131663132613939386537336131353961653537646230326632373966303937613532
+62396436656161663264393335366633323533636666613364303364316134306439306334663065
+30623065333537643930373962663264343766356636333937383135333164363635396536316338
+36353436626436303938316638383632316233623562353930376238373038633964303431366135
+63623162306335353234393737623137356361653162633436666132333737316461663061373562
+32363836376238396239616163666338393839343865353866326166353532656361

http://git-wip-us.apache.org/repos/asf/airavata/blob/c99687f9/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 3279a97..61d789e 100644
--- a/dev-tools/ansible/roles/pga/tasks/main.yml
+++ b/dev-tools/ansible/roles/pga/tasks/main.yml
@@ -35,8 +35,8 @@
   become: yes
   become_user: "{{user}}"
 
-- name: Create user data dir {{ user_data_dir }}
-  file: path="{{ user_data_dir }}" state=directory owner="{{user}}" group="{{group}}" mode=0777
recurse=yes follow=yes
+- name: Create experiment data dir {{ experiment_data_dir }}
+  file: path="{{ experiment_data_dir }}" state=directory owner="{{user}}" group="{{group}}"
mode=0777 recurse=yes follow=yes
   become: yes
 
 # SELinux configuration


Mime
View raw message