1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +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:
Jerry Vonau 2017-10-23 14:13:50 -05:00
parent a23c72fe70
commit b0fb67af9d

View file

@ -71,6 +71,12 @@
osm_path: "{{ osm_venv }}/lib/python2.7/site-packages/iiab"
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
template: backup=no
src=osm.conf.j2