Changeset - 3e8b17e9a7da
[Not reviewed]
0 1 0
Branko Majic (branko) - 7 years ago 2018-06-28 21:46:59
branko@majic.rs
MAR-129: Fixed installation of packages in virtualenv for wsgi_website role:

- Make sure packages are only installed if they are defined.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
roles/wsgi_website/tasks/main.yml
Show inline comments
 
@@ -147,12 +147,13 @@
 
  become_user: "{{ admin }}"
 
  pip:
 
    name: "{{ virtualenv_packages }}"
 
    state: present
 
    virtualenv: "{{ home }}/virtualenv"
 
  register: install_additional_packages_in_virtualenv
 
  when: "virtualenv_packages"
 
  notify:
 
    - Restart WSGI services
 

	
 
- name: Deploy systemd socket configuration for website
 
  template:
 
    src: "systemd_wsgi_website.socket.j2"
0 comments (0 inline, 0 general)