Ansible: move temp dir delete to end
notify:
- restart uwsgi
-- name: remove Django portal clone temp directory
- local_action:
- module: file
- state: absent
- path: "{{ airavata_django_portal_tempdir.path }}"
- run_once: true
-
- name: Create virtual environment for Django portal and install dependencies
pip:
requirements: "{{ item }}"
become: yes
notify:
- restart uwsgi
+
+- name: remove Django portal clone temp directory
+ local_action:
+ module: file
+ state: absent
+ path: "{{ airavata_django_portal_tempdir.path }}"
+ run_once: true
