Files @ a5d38f30094b
Branch filter:

Location: majic-ansible-roles/roles/wsgi_website/handlers/main.yml

branko
MAR-132: Workarounds for wsgi_website Python virtual environment in Debian Stretch:

- Manually install setuptools in Python virtual environment on Debian
Stretch, otherwise the pkg-resources==0.0.0 package will mess with
pip freeze etc.
- Add back installation of futures package, even on Python 3 (since it
does not cause any harm).
- A small cleanup of how requirements are treated will be done in
separate ticket.
1
2
3
4
5
6
7
---

- name: Restart WSGI services
  service:
    name: "{{ item }}"
    state: restarted
  with_items: "{{ wsgi_services_to_restart }}"