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 2021/06/30 20:11:22 UTC
[airavata] branch master updated: Ansible: update pip,
setuptools and wheel to latest in Django venv
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git
The following commit(s) were added to refs/heads/master by this push:
new ef4d0a5 Ansible: update pip, setuptools and wheel to latest in Django venv
ef4d0a5 is described below
commit ef4d0a5a0dfa083a3b98be572fd9d9aaa4147373
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Tue Jun 29 17:36:51 2021 -0400
Ansible: update pip, setuptools and wheel to latest in Django venv
---
dev-tools/ansible/roles/django/tasks/main.yml | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/dev-tools/ansible/roles/django/tasks/main.yml b/dev-tools/ansible/roles/django/tasks/main.yml
index 935b973..021f4b5 100644
--- a/dev-tools/ansible/roles/django/tasks/main.yml
+++ b/dev-tools/ansible/roles/django/tasks/main.yml
@@ -148,7 +148,21 @@
- delete older files
with_items: "{{ django_portal_js_build_dirs }}"
-- name: Create virtual environment for Django portal and install dependencies
+- name: Create virtual environment for Django portal and update pip, setuptools and wheel
+ pip:
+ name: "{{ item }}"
+ virtualenv: "{{ django_venv_dir }}"
+ virtualenv_command: "{{ python_virtualenv_command }}"
+ chdir: "{{ airavata_django_checkout }}"
+ state: latest
+ become: yes
+ become_user: "{{user}}"
+ with_list:
+ - pip
+ - setuptools
+ - wheel
+
+- name: Install dependencies in virtual environment for Django portal
pip:
requirements: "{{ item }}"
virtualenv: "{{ django_venv_dir }}"