1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
Commit graph

59 commits

Author SHA1 Message Date
root
526be25db0 Clean Kolibri role for NGINX not Apache 2021-07-06 15:26:01 -04:00
root
a07a684d13 /etc/iiab/iiab.ini: install / enabled -> ROLE_install / ROLE_enabled 2021-04-29 15:03:29 -04:00
root
ca171fbc1c Remove "| bool" 1.5yrs later, as Ansible 2.10 changed conditional_bare_variables default 2020-10-16 16:46:19 -04:00
root
2eebe604fa Cleaner Kolibri playbook 2020-02-02 21:16:26 -05:00
root
6e6fab170d 3 iiab.ini descrips + rm excess '| bool' casts 2020-01-13 19:57:50 -05:00
Jerry Vonau
57ebdc5bb7 kolibri rework and add iiab_installed 2019-11-28 05:26:47 -06:00
Jerry Vonau
603c87013f kolibri - add when nginx_enabled - restart 2019-11-28 05:23:14 -06:00
George Hunt
cffb6afecc oversignts and corrections -- most now seem to work on rpi 2019-11-28 05:23:13 -06:00
George Hunt
4778ad5e3c checkin 2019-11-28 05:23:13 -06:00
A Holt
c11495951d
Comment out chown stanza, per @benjaoming 2019-10-14 14:12:17 -04:00
A Holt
6bbfde4012
Is "chmod -R kolibri:www-data /library/kolibri" nec? 2019-10-14 12:54:29 -04:00
A Holt
a4367de16c
Clarify Kolibri installation / migration requirements, per @benjaoming 2019-10-14 12:46:24 -04:00
A Holt
a290c6901b
Install common Apache modules upfront, not in {kiwix, kolibri} 2019-10-07 14:37:31 -04:00
A Holt
834fa0ef18
Clarify full actions of apt installing Kolibri .deb 2019-10-07 10:41:19 -04:00
A Holt
efda273040
Ansible requires quotes around ':' in task descriptions 2019-10-06 21:04:40 -04:00
A Holt
040a5c2c8f
Explain Kolibri provisioning, per @benjaoming rec 2019-10-06 20:53:40 -04:00
A Holt
b042bb4c00
/etc/kolibri/daemon.conf forces Kolibri installer to populate /library/kolibri (hopefully no need to run "kolibri manage migrate" !) 2019-10-01 20:45:46 -04:00
A Holt
861c46bcd7
Update main.yml 2019-09-30 00:12:53 -04:00
A Holt
2ca0cea427
Update main.yml 2019-09-29 23:38:41 -04:00
A Holt
79b9a8eb91
Polish kolibri/tasks/main.yml for .deb install 2019-09-29 23:15:45 -04:00
A Holt
38b855d690
/etc/iiab/iiab.ini var name fixes 2019-09-28 00:58:13 -04:00
A Holt
b8c7387a63
Run 3 Kolibri tasks as 'pi' when is_rpi 2019-09-27 20:09:01 -04:00
A Holt
7ccf6dab9e
'kolibri_user: pi' seems nec on RPi for now :/ 2019-09-27 17:10:02 -04:00
A Holt
b025acb11c
Preserve 'kolibri_user: kolibri' (instead of 'pi') for now 2019-09-27 15:16:01 -04:00
A Holt
7cd121a510
Update main.yml 2019-09-26 21:07:56 -04:00
A Holt
38415983c4
Update main.yml 2019-09-26 21:05:40 -04:00
A Holt
8474702474
Set kolibri_user to pi if Raspberry Pi 2019-09-26 20:58:45 -04:00
A Holt
b5c8f8aed4
become_user: "{{ kolibri_user }}" to run as pi
"desktop user’s account is preferred" required to avoid errors like "You are running this command as the user 'kolibri', but Kolibri was originally installed to run as the user 'pi'."

As recommended by https://kolibri.readthedocs.io/en/latest/install.html#changing-the-owner-of-kolibri-system-service
2019-09-26 20:47:43 -04:00
A Holt
55fa28e7a7
Update main.yml 2019-09-26 20:14:32 -04:00
A Holt
107a680d3d
Update main.yml 2019-09-26 19:48:41 -04:00
A Holt
1008ac2736
Update main.yml 2019-09-26 19:37:28 -04:00
A Holt
a31981c982
apt doesn't need pip's "extra_args: --no-cache-dir" 2019-09-26 18:57:54 -04:00
A Holt
1641b22165
Install Kolibri w/ apt (.deb file) instead of pip (.pex file) 2019-09-26 18:50:33 -04:00
A Holt
8258ba08a6
streamline chmod 0644 (no functional changes) 2019-07-06 22:52:29 -04:00
A Holt
d54856ed5a
reorder kolibri/tasks/main.yml for reinstalls (#1782) 2019-07-06 22:40:46 -04:00
A Holt
e53efbdd3c
pip install {{ kolibri_version }} if var's defined 2019-06-13 17:33:52 -04:00
holta
3a1ccf3638 'when: X' -> 'when: X | bool' for Ansibl 2.8 2019-05-24 18:33:10 -04:00
A Holt
24645ca87a
Update main.yml 2019-02-02 20:13:33 -05:00
A Holt
3e3a55765a
Comments cleaner 2019-01-18 03:46:37 -05:00
A Holt
2eb4f3a6a3
Restart Apache at end of playbook (make it happen) 2019-01-18 03:33:45 -05:00
Arky
37d66df237 Apache2 Reverse proxy subdirectory /kolibri 2019-01-18 14:17:31 +07:00
georgejhunt
7f9957aa55
0.3 patch1 (#1377)
* expand zim_versions_idx to include menuItem name, mediaCount, articleCount, size

* create a stub menuItem if none exists

* remember to change consumer of zim_version_idx in iiab-admin

* comment out some debugging prints

* do not change the name of a variable in iiab.ini

* consistent variable names for *_enabled

* start work on menus for enabled iiab roles

* changes to display cups in home menu

* remove reference to admin console which may not be installed

* print error message

* dict.get errors

* handle undefined menuItem"

* handle undefined menuItem again

* some work on logos

* break out the zim_versions_idx routines for use by update_menus in admin-console

* remove old menuDef creation code

* new variable names for zim_versions_idx

* missing the tags data in zim_versions_idx

* un-break-apart iiab-make-kiwix-lib.py

* return an empty string

* make size human_readable

* getting console and iiab to work together on menus

* add the new zim_date field to zim_versions_idx

* get the latest into repo

* found lost code iiab-make-kiwix-lib.py

* Create Lokole admin user during setup

* Add requested content to lokole readme
Per iiab/iiab#1293

* Update default password

* Add Lokole-IIAB user manual

* Update default_vars.yml

* Update local_vars_min.yml

* Update local_vars_min.yml

* Update local_vars_medium.yml

* Update local_vars_min.yml

* Update default_vars.yml

* Update local_vars_big.yml

* Update local_vars_medium.yml

* Update default_vars.yml

* Update default_vars.yml

* Update local_vars_min.yml

* Update local_vars_medium.yml

* Update local_vars_big.yml

* Update default_vars.yml

* Update default_vars.yml

* Update local_vars_big.yml

* Update local_vars_medium.yml

* Update local_vars_min.yml

* Update default_vars.yml

* Update local_vars_big.yml

* Update local_vars_medium.yml

* Update local_vars_min.yml

* Change admin username to uppercase

* Revert "Lokole: change admin to Admin per IIAB app norms"

* Update main.yml

* Update README.rst

* Update capture-wsgi.py

* Update main.yml

* Update main.yml

* Update default_vars.yml

* Update local_vars_big.yml

* Update local_vars_medium.yml

* Update local_vars_min.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update default_vars.yml

* Update local_vars_big.yml

* Update local_vars_medium.yml

* Update local_vars_min.yml

* Address TODOs in Lokole documentation

See https://github.com/ascoderu/opwen-webapp/issues/81

* Update main.yml

* Update local_vars_big.yml

* Update local_vars_medium.yml

* Update local_vars_big.yml

* Update local_vars_min.yml

* Update default_vars.yml

* expand zim_versions_idx to include menuItem name, mediaCount, articleCount, size

* create a stub menuItem if none exists

* remember to change consumer of zim_version_idx in iiab-admin

* comment out some debugging prints

* do not change the name of a variable in iiab.ini

* consistent variable names for *_enabled

* start work on menus for enabled iiab roles

* changes to display cups in home menu

* remove reference to admin console which may not be installed

* print error message

* dict.get errors

* handle undefined menuItem"

* handle undefined menuItem again

* some work on logos

* break out the zim_versions_idx routines for use by update_menus in admin-console

* remove old menuDef creation code

* new variable names for zim_versions_idx

* missing the tags data in zim_versions_idx

* un-break-apart iiab-make-kiwix-lib.py

* return an empty string

* make size human_readable

* getting console and iiab to work together on menus

* add the new zim_date field to zim_versions_idx

* get the latest into repo

* found lost code iiab-make-kiwix-lib.py
2019-01-10 14:26:47 -08:00
A Holt
617561e257
Update main.yml 2018-10-31 01:25:23 -04:00
root
b5efe25edb /etc/iiab/iiab.ini -> {{ iiab_ini_file }} 2018-10-15 07:01:09 -04:00
root
d9c73cc804 service_filelist -> iiab_ini_file 2018-10-15 06:13:57 -04:00
Arky
33f3a85de0 Refactor: Run kolibri migrations task
Run kolibri migrations as part of the kolibri setup itself. This makes
kolibri.service initial run faster on low-end Raspberry Pi devices.

"Unable to start service kolibri: Job for kolibri.service failed because
a timeout was exceeded." #1158

https://github.com/iiab/iiab/issues/1158
2018-09-23 12:17:26 +07:00
Arky
e1e0f8ce53 Refactor: Task Layout 2018-09-23 12:04:33 +07:00
A Holt
476c44ce13
Update main.yml 2018-09-01 22:58:59 -04:00
Jerry Vonau
be7f21eb98 virtual environment for kolibri 2018-09-01 21:35:25 +00:00
A Holt
a29c0f40d8
Merge branch 'master' into daemon-reload 2018-07-16 17:01:17 -04:00