Skip to content

Commit

Permalink
debian12 has newer python and postgres versions
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasberens committed Mar 17, 2024
1 parent 7e1ab0e commit d1edad7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions roles/ff_wizard/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
name:
- libpq-dev
- postfix
- postgresql-13
- postgresql-15
- postgresql-15-ip4r
- python3-virtualenv
- uwsgi
- uwsgi-plugin-python3
Expand Down Expand Up @@ -64,8 +65,8 @@
ansible.builtin.pip:
requirements: /var/www/nipap-wizard/requirements.txt
virtualenv: /var/www/nipap-wizard/env
virtualenv_command: virtualenv --python=python3.9
virtualenv_python: python3.9
virtualenv_command: virtualenv --python=python3.11
virtualenv_python: python3.11
notify: Restart uwsgi

- name: Set owner of nipap dir
Expand Down
2 changes: 1 addition & 1 deletion roles/ff_wizard/templates/uwsgi-ff-wizard.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ chown-socket = caddy:caddy
logto = /tmp/wizard-config.berlin.freifunk.net.log
master = true
processes = 2
pythonpath = /var/www/nipap-wizard/env/lib/python3.9/site-packages/
pythonpath = /var/www/nipap-wizard/env/lib/python3.11/site-packages/
chdir = /var/www/nipap-wizard
uid = www-data
gid = www-data
Expand Down

0 comments on commit d1edad7

Please sign in to comment.