Skip to content
Snippets Groups Projects
Commit b706b96c authored by Jelle van der Waa's avatar Jelle van der Waa :construction:
Browse files

Archweb Python 3 migration

parent a879aa4a
No related branches found
No related tags found
No related merge requests found
---
- name: install required packages
pacman: name=git,python2-setuptools,python2-psycopg2,python2-virtualenv,uwsgi-plugin-python2,gcc state=present
pacman: name=git,python-setuptools,python-psycopg2,python-virtualenv,uwsgi-plugin-python,gcc state=present
- name: make archweb user
user: name=archweb shell=/bin/false home="{{ archweb_dir }}" createhome=no
......@@ -36,7 +36,7 @@
register: release
- name: make virtualenv
command: virtualenv2 "{{ archweb_dir }}"/env creates="{{ archweb_dir }}/env/bin/python"
command: virtualenv "{{ archweb_dir }}"/env creates="{{ archweb_dir }}/env/bin/python"
become: true
become_user: archweb
......
[uwsgi]
plugins=python2
plugins=python
chdir={{ archweb_dir }}
wsgi-file=archweb.wsgi
socket=/run/uwsgi/archweb.sock
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment