mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
rename IIAB -> OSM here
This commit is contained in:
parent
7d6a249a63
commit
82bd0d346a
1 changed files with 8 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
||||||
- name: Install IIAB required packages
|
- name: Install OSM required packages
|
||||||
package: name={{ item }}
|
package: name={{ item }}
|
||||||
state=present
|
state=present
|
||||||
with_items:
|
with_items:
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
- libapache2-mod-xsendfile
|
- libapache2-mod-xsendfile
|
||||||
when: is_debuntu
|
when: is_debuntu
|
||||||
|
|
||||||
- name: Install IIAB required packages
|
- name: Install OSM required packages
|
||||||
package: name={{ item }}
|
package: name={{ item }}
|
||||||
state=present
|
state=present
|
||||||
with_items:
|
with_items:
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
- mod_xsendfile
|
- mod_xsendfile
|
||||||
when: not is_debuntu
|
when: not is_debuntu
|
||||||
|
|
||||||
# IIAB wants a specific version do that first
|
# OSM wants a specific version do that first
|
||||||
- name: Install Whoosh 2.6
|
- name: Install Whoosh 2.6
|
||||||
pip: name=whoosh
|
pip: name=whoosh
|
||||||
virtualenv={{ osm_venv }}
|
virtualenv={{ osm_venv }}
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
extra_args="--no-cache-dir"
|
extra_args="--no-cache-dir"
|
||||||
when: internet_available and is_debuntu
|
when: internet_available and is_debuntu
|
||||||
|
|
||||||
- name: Install IIAB with dependencies
|
- name: Install OSM with dependencies
|
||||||
pip: name={{ item }}
|
pip: name={{ item }}
|
||||||
virtualenv={{ osm_venv }}
|
virtualenv={{ osm_venv }}
|
||||||
virtualenv_site_packages=no
|
virtualenv_site_packages=no
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
- Internet-in-a-Box
|
- Internet-in-a-Box
|
||||||
when: internet_available and is_debuntu
|
when: internet_available and is_debuntu
|
||||||
|
|
||||||
# IIAB wants a specific version do that first
|
# OSM wants a specific version do that first
|
||||||
- name: Install Whoosh 2.6
|
- name: Install Whoosh 2.6
|
||||||
pip: name=whoosh
|
pip: name=whoosh
|
||||||
virtualenv={{ osm_venv }}
|
virtualenv={{ osm_venv }}
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
# extra_args="--no-cache-dir"
|
# extra_args="--no-cache-dir"
|
||||||
when: internet_available and not is_debuntu
|
when: internet_available and not is_debuntu
|
||||||
|
|
||||||
- name: Install IIAB with dependencies
|
- name: Install OSM with dependencies
|
||||||
pip: name={{ item }}
|
pip: name={{ item }}
|
||||||
virtualenv={{ osm_venv }}
|
virtualenv={{ osm_venv }}
|
||||||
virtualenv_site_packages=no
|
virtualenv_site_packages=no
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
line="path_to_virtualenv = '/usr/local/osm'"
|
line="path_to_virtualenv = '/usr/local/osm'"
|
||||||
state=present
|
state=present
|
||||||
|
|
||||||
- name: All - Copy IIAB config file
|
- name: All - Copy OSM config file
|
||||||
template: backup=no
|
template: backup=no
|
||||||
src=osm.conf.j2
|
src=osm.conf.j2
|
||||||
dest=/etc/{{ apache_config_dir }}/osm.conf
|
dest=/etc/{{ apache_config_dir }}/osm.conf
|
||||||
|
@ -137,7 +137,7 @@
|
||||||
service: name={{ apache_service }}
|
service: name={{ apache_service }}
|
||||||
state=restarted
|
state=restarted
|
||||||
|
|
||||||
- name: add osm to service list
|
- name: Add OSM to service list
|
||||||
ini_file: dest='{{ service_filelist }}'
|
ini_file: dest='{{ service_filelist }}'
|
||||||
section=osm
|
section=osm
|
||||||
option='{{ item.option }}'
|
option='{{ item.option }}'
|
||||||
|
|
Loading…
Reference in a new issue