Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 53FAB200C64 for ; Fri, 28 Apr 2017 17:22:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 52BDA160BA3; Fri, 28 Apr 2017 15:22:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AA41A160BD1 for ; Fri, 28 Apr 2017 17:22:46 +0200 (CEST) Received: (qmail 13054 invoked by uid 500); 28 Apr 2017 15:22:45 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 11692 invoked by uid 99); 28 Apr 2017 15:22:44 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2017 15:22:44 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 013B4E185A; Fri, 28 Apr 2017 15:22:43 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: machristie@apache.org To: commits@airavata.apache.org Date: Fri, 28 Apr 2017 15:23:20 -0000 Message-Id: <938c7f6a24da4dbaafc907678341a2ab@git.apache.org> In-Reply-To: <091dc838ebc045d68632ad7e8c9a48c6@git.apache.org> References: <091dc838ebc045d68632ad7e8c9a48c6@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [39/50] [abbrv] airavata git commit: Ultrascan pga configuration archived-at: Fri, 28 Apr 2017 15:22:49 -0000 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 Authored: Wed Apr 26 14:16:40 2017 -0400 Committer: Marcus Christie 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