1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00

move iiab_env.py

This commit is contained in:
Jerry Vonau 2019-11-22 11:49:33 -06:00
parent 99ce889308
commit 4f0827b876
3 changed files with 3 additions and 8 deletions

View file

@ -8,3 +8,4 @@
with_items:
- { src: 'iiab_const.py.j2', dest: '{{ py3_dist_path }}/iiab/iiab_const.py' }
- { src: 'iiab_lib.py', dest: '{{ py3_dist_path }}/iiab/iiab_lib.py' }
- { src: 'iiab_env.py.j2', dest: '{{ iiab_etc_path }}/iiab_env.py.j2' }

View file

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3
# read iiab.env from python
def get_iiab_env(name):

View file

@ -16,12 +16,6 @@
- python-pip # Used by Admin Console
state: present
# Used by iiab-update-map, supplied by osm-vector-maps
- name: Create a Python interface to iiab.env
template:
src: roles/1-prep/templates/iiab_env.py.j2
dest: /etc/iiab/iiab_env.py
- name: CAPTIVE PORTAL
include_tasks: roles/captive-portal/tasks/main.yml
when: captive_portal_install | bool