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 2018/10/01 18:48:49 UTC

[airavata] branch develop updated: dev SimCCS Django Ansible config

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/develop by this push:
     new 896a62c  dev SimCCS Django Ansible config
896a62c is described below

commit 896a62c5c9b93ce38b8440a33dc9e063480ecf5f
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Mon Oct 1 14:37:17 2018 -0400

    dev SimCCS Django Ansible config
---
 .../scigap/develop/host_vars/simccs/vars.yml       | 45 ++++++++++++++++++++++
 .../scigap/develop/host_vars/simccs/vault.yml      | 12 ++++++
 dev-tools/ansible/inventories/scigap/develop/hosts |  1 +
 3 files changed, 58 insertions(+)

diff --git a/dev-tools/ansible/inventories/scigap/develop/host_vars/simccs/vars.yml b/dev-tools/ansible/inventories/scigap/develop/host_vars/simccs/vars.yml
new file mode 100644
index 0000000..86aa9af
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/develop/host_vars/simccs/vars.yml
@@ -0,0 +1,45 @@
+#
+#
+# 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.
+#
+
+---
+doc_root_dir: "/data/portals/django-simccs"
+vhost_servername: "django.simccs.scigap.org"
+vhost_ssl: True
+# sudo certbot --apache certonly -d django.simccs.scigap.org
+ssl_certificate_file: "/etc/letsencrypt/live/django.simccs.scigap.org/cert.pem"
+ssl_certificate_chain_file: "/etc/letsencrypt/live/django.simccs.scigap.org/fullchain.pem"
+ssl_certificate_key_file: "/etc/letsencrypt/live/django.simccs.scigap.org/privkey.pem"
+
+## Keycloak related variables
+tenant_domain: "simccs"
+oauth_client_key: "{{ vault_oauth_client_key }}"
+oauth_client_secret: "{{ vault_oauth_client_secret }}"
+
+auth_options:
+  password:
+    name: "SimCCS"
+  external:
+    - name: "CILogon"
+      idp_alias: "cilogon"
+
+gateway_id: "simccs"
+experiment_data_dir: "{{ user_data_dir }}/django-simccs"
+
+...
diff --git a/dev-tools/ansible/inventories/scigap/develop/host_vars/simccs/vault.yml b/dev-tools/ansible/inventories/scigap/develop/host_vars/simccs/vault.yml
new file mode 100644
index 0000000..422e526
--- /dev/null
+++ b/dev-tools/ansible/inventories/scigap/develop/host_vars/simccs/vault.yml
@@ -0,0 +1,12 @@
+$ANSIBLE_VAULT;1.1;AES256
+34373534313035663863353636633333366432326164666236363739353462323632353364346332
+3833323234326134623737666364643432396337626435370a633264613532396537643531323035
+62393064363164313735653835633934636635643465313166316565663231626234306434363564
+6534363530613539650a653532643264656564343263343664616131653830363038326134623837
+30386437633631663732356133303738346636346630653362633933386336623739646336626131
+39613038376638613864373137653933346438626137646536303330313839353266636637386366
+32343536616339656332626139336364386638613363373964663664333736323363353438336331
+63623630636437333162383734323539383465643034326161326163356364326564313138343537
+63616164346365646435626138346532386431316432373262303837666666386663346638376662
+37323634646432353431303865346562646464356232333662616632666238336537303533633739
+396536663437666462366336666330323136
diff --git a/dev-tools/ansible/inventories/scigap/develop/hosts b/dev-tools/ansible/inventories/scigap/develop/hosts
index 51c7672..4ecc835 100644
--- a/dev-tools/ansible/inventories/scigap/develop/hosts
+++ b/dev-tools/ansible/inventories/scigap/develop/hosts
@@ -25,6 +25,7 @@
 [django]
 seagrid ansible_host=pgadev.scigap.org
 simvascular ansible_host=pgadev.scigap.org
+simccs ansible_host=pgadev.scigap.org
 
 [helix]
 149.165.157.37