mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Proposed fix for issue #448
Might need full path ie {{ osm_path }} in place of {{ osm_venv }} With the push by the distros to python3 we took the step to use virtual environments to better contain python 2.7 based programs.
This commit is contained in:
parent
a23c72fe70
commit
b0fb67af9d
1 changed files with 6 additions and 0 deletions
|
@ -71,6 +71,12 @@
|
||||||
osm_path: "{{ osm_venv }}/lib/python2.7/site-packages/iiab"
|
osm_path: "{{ osm_venv }}/lib/python2.7/site-packages/iiab"
|
||||||
when: osm_enabled and is_debuntu
|
when: osm_enabled and is_debuntu
|
||||||
|
|
||||||
|
- name: All - Point wsgi to virtual environment
|
||||||
|
lineinfile: dest={{ osm_venv }}/bin/iiab.wsgi
|
||||||
|
regexp='path_to_virtualenv*'
|
||||||
|
line='path_to_virtualenv = /usr/local/osm'
|
||||||
|
state=present
|
||||||
|
|
||||||
- name: All - Copy IIAB config file
|
- name: All - Copy IIAB config file
|
||||||
template: backup=no
|
template: backup=no
|
||||||
src=osm.conf.j2
|
src=osm.conf.j2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue