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 558069b AIRAVATA-2586 Move dev django portals to /data/portals
558069b is described below
commit 558069bd9568bca4591dd4e4f588ec5a02f7ea69
Author: Marcus Christie <[email protected]>
AuthorDate: Fri Aug 3 13:36:11 2018 -0400
AIRAVATA-2586 Move dev django portals to /data/portals
---
.../ansible/inventories/scigap/develop/host_vars/seagrid/vars.yml | 2 +-
dev-tools/ansible/roles/django/tasks/main.yml | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git
a/dev-tools/ansible/inventories/scigap/develop/host_vars/seagrid/vars.yml
b/dev-tools/ansible/inventories/scigap/develop/host_vars/seagrid/vars.yml
index b591448..289488d 100644
--- a/dev-tools/ansible/inventories/scigap/develop/host_vars/seagrid/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/develop/host_vars/seagrid/vars.yml
@@ -19,7 +19,7 @@
#
---
-doc_root_dir: "/var/www/portals/django-seagrid"
+doc_root_dir: "/data/portals/django-seagrid"
vhost_servername: "django.seagrid.org"
vhost_ssl: True
ssl_certificate_file: "/etc/letsencrypt/live/django.seagrid.org/cert.pem"
diff --git a/dev-tools/ansible/roles/django/tasks/main.yml
b/dev-tools/ansible/roles/django/tasks/main.yml
index e84d8ed..052f700 100644
--- a/dev-tools/ansible/roles/django/tasks/main.yml
+++ b/dev-tools/ansible/roles/django/tasks/main.yml
@@ -19,7 +19,7 @@
#
---
-- name: Create root directory ({{ doc_root_dir }})
+- name: Create root directory
file: path="{{ doc_root_dir }}" state=directory owner="{{user}}"
group="{{group}}"
become: yes
@@ -39,7 +39,7 @@
pip:
requirements: "{{ airavata_django_checkout }}/requirements.txt"
virtualenv: "{{ django_venv_dir }}"
- virtualenv_command: "python3 -m venv"
+ virtualenv_command: pyvenv-3.4
become: yes
become_user: "{{user}}"
@@ -70,7 +70,7 @@
become: yes
become_user: "{{user}}"
-- name: Create experiment data dir {{ experiment_data_dir }}
+- name: Create experiment data dir
file: path="{{ experiment_data_dir }}" state=directory owner="{{user}}"
group="{{group}}" recurse=yes follow=yes
become: yes