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 2019/11/20 18:16:46 UTC

[airavata] branch master updated: Ansible: Trigger uwsgi restart if rsynced files change

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


View the commit online:
https://github.com/apache/airavata/commit/500cebd6a5682abbce08e93b9cd839ebc51e14e7

The following commit(s) were added to refs/heads/master by this push:
     new 500cebd  Ansible: Trigger uwsgi restart if rsynced files change
500cebd is described below

commit 500cebd6a5682abbce08e93b9cd839ebc51e14e7
Author: Marcus Christie <ma...@iu.edu>
AuthorDate: Tue Nov 19 17:11:20 2019 -0500

    Ansible: Trigger uwsgi restart if rsynced files change
---
 dev-tools/ansible/roles/django/tasks/main.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-tools/ansible/roles/django/tasks/main.yml b/dev-tools/ansible/roles/django/tasks/main.yml
index 5e54073..5c8f6d2 100644
--- a/dev-tools/ansible/roles/django/tasks/main.yml
+++ b/dev-tools/ansible/roles/django/tasks/main.yml
@@ -111,6 +111,8 @@
     rsync_path: "sudo -u {{ user }} rsync"
   # become: yes
   # become_user: "{{user}}"
+  notify:
+    - restart uwsgi
 
 - name: Create virtual environment for Django portal and install dependencies
   pip: