mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
move iiab_env.py
This commit is contained in:
parent
99ce889308
commit
4f0827b876
3 changed files with 3 additions and 8 deletions
|
@ -8,3 +8,4 @@
|
||||||
with_items:
|
with_items:
|
||||||
- { src: 'iiab_const.py.j2', dest: '{{ py3_dist_path }}/iiab/iiab_const.py' }
|
- { 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_lib.py', dest: '{{ py3_dist_path }}/iiab/iiab_lib.py' }
|
||||||
|
- { src: 'iiab_env.py.j2', dest: '{{ iiab_etc_path }}/iiab_env.py.j2' }
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python3
|
||||||
# read iiab.env from python
|
# read iiab.env from python
|
||||||
|
|
||||||
def get_iiab_env(name):
|
def get_iiab_env(name):
|
|
@ -16,12 +16,6 @@
|
||||||
- python-pip # Used by Admin Console
|
- python-pip # Used by Admin Console
|
||||||
state: present
|
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
|
- name: CAPTIVE PORTAL
|
||||||
include_tasks: roles/captive-portal/tasks/main.yml
|
include_tasks: roles/captive-portal/tasks/main.yml
|
||||||
when: captive_portal_install | bool
|
when: captive_portal_install | bool
|
||||||
|
|
Loading…
Reference in a new issue