1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00
Commit graph

162 commits

Author SHA1 Message Date
root
b7151fe047 Rename var nginx_config_dir to nginx_conf_dir 2020-01-24 01:08:42 -05:00
root
6e6fab170d 3 iiab.ini descrips + rm excess '| bool' casts 2020-01-13 19:57:50 -05:00
root
a4d898dd9c Cleaner ver: 35+1 files may write to iiab_state.yml 2020-01-12 18:15:33 -05:00
root
bd915fcdae 35 tasks/*.yml writing to iiab_state.yml 2020-01-12 17:06:24 -05:00
root
509d110ece Add 'XYZ_installed: True' to {{ iiab_state_file }} 2020-01-11 23:31:47 -05:00
root
15909ace31 Update 8 enable.yml files to "{{ item.value | string }}" 2020-01-11 22:29:54 -05:00
A Holt
4bf32c78ef
Update enable.yml 2020-01-11 16:49:06 -05:00
A Holt
fbe40e026f
kolibri/tasks/enable.yml fix 2020-01-11 16:40:58 -05:00
A Holt
947c47a2a7
Update kolibri/tasks/enable.yml 2020-01-11 16:29:20 -05:00
Jerry Vonau
b31c2035a6 kolibri - softcode nginx_config_dir, add disable logic 2020-01-10 12:35:35 -06:00
A Holt
30c2ac4381
Deprecate "language setdefault language <en>" 2020-01-05 15:18:27 -05:00
A Holt
a4ff37fd46
Merge branch 'master' into kolibri-fallback-options 2019-12-09 18:16:34 -05:00
Jerry Vonau
6a959fbaec fix trailing slash issue - remove proxy_bind 2019-11-28 05:39:24 -06:00
Jerry Vonau
6f59695540 kolibri - change d/l url 2019-11-28 05:39:23 -06:00
Jerry Vonau
c5dc3902b0 correct broken line 2019-11-28 05:32:12 -06:00
holta
38fd86ac90 2008 var names, output, comments, small bugs 2019-11-28 05:32:00 -06:00
Jerry Vonau
70e7c7c7b5 needs True 2019-11-28 05:26:48 -06:00
Jerry Vonau
42e679a0e8 use lineinfile 2019-11-28 05:26:47 -06: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
af6c1ebc12
Restore https://learningequality.org/r/kolibri-deb-latest which should now be fixed upstream 2019-11-21 15:35:06 -05:00
A Holt
1c1c828b52
Explain "Assets" under individual Kolibri releases (to find .deb URL's) 2019-11-21 13:13:58 -05:00
A Holt
c52875e22a
Clarify Kolibri patched pre-release from @jredrejo 2019-11-21 13:04:01 -05:00
A Holt
b2fc1f9e36
Revert Kolibri to 0.12.8 + explain where to get working apt/.deb installers for Kolibri 2019-11-21 12:56:38 -05: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
35287a409f
Update main.yml 2019-09-29 23:51:46 -04:00
A Holt
60fa27cdbd
Update main.yml 2019-09-29 23:49:19 -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
b8a0eca1e3
Update main.yml 2019-09-27 15:08:37 -04:00
A Holt
191482ee0a
Merge branch 'master' into kolibri-apt-not-pip 2019-09-27 15:00:44 -04:00
A Holt
7890d60c7e
Update kolibri.conf.j2 2019-09-27 14:50:23 -04:00
A Holt
7044dc6b80
Update kolibri.conf.j2 2019-09-27 14:33:37 -04:00
A Holt
daaba173f7
kolibri_url_without_slash: /kolibri 2019-09-27 14:32:55 -04:00
A Holt
6887181595
Update README.rst 2019-09-27 00:28:57 -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
d9ec684f0a
Clarify 'kolibri_user: kolibri' overridden to 'pi' 2019-09-26 20:56:57 -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
beed45849a
kolibri_exec_path: /usr/bin/kolibri 2019-09-26 19:53:07 -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
38ddf43628
Update main.yml 2019-09-26 19:35:51 -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
Jerry Vonau
a30796b0ec issue #1932 2019-08-25 12:49:25 -05:00
A Holt
7fd648ffad
Comment more presentable (inline code) 2019-07-08 07:11:08 -04:00
A Holt
c0f2aca9fc
roles/kolibri/defaults/main.yml link clarified 2019-07-08 07:08:35 -04:00
A Holt
525cf6887a
Updating Kolibri's README.rst for IIAB 7.0 2019-07-08 07:03:15 -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
195193de4d
Remove Kolibri pinning, as 0.12.5 fixes 0.12.4 bug 2019-06-21 19:13:26 -04:00
A Holt
e53efbdd3c
pip install {{ kolibri_version }} if var's defined 2019-06-13 17:33:52 -04:00
A Holt
f8e431cd19
introduce optional variable kolibri_version: 0.12.3 2019-06-13 17:31:13 -04:00
holta
3a1ccf3638 'when: X' -> 'when: X | bool' for Ansibl 2.8 2019-05-24 18:33:10 -04:00
A Holt
a4d67410a1
Update README.rst 2019-03-06 13:32:05 -05:00
A Holt
a93b8ee3e1
Update README.rst 2019-03-06 13:29:14 -05:00
A Holt
219accbe99
Update main.yml 2019-03-05 13:28:05 -05:00
A Holt
67bb8e2336
Update main.yml 2019-03-05 12:56:46 -05: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
A Holt
0e962bea41
Update README.rst 2018-09-29 10:01:22 -04:00
A Holt
2981814261
Update README.rst 2018-09-29 09:35:05 -04:00
A Holt
4ce9d396f7
Update README.rst 2018-09-29 09:21:59 -04:00
A Holt
a09e3b18d0
Update README.rst 2018-09-29 09:15:18 -04:00
Arky
fb0c39cdf0 Added known issues to kolibri README file. 2018-09-23 12:40:05 +07: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
d892638508
Update README.rst 2018-09-01 23:44:04 -04:00
A Holt
476c44ce13
Update main.yml 2018-09-01 22:58:59 -04:00
A Holt
7f9e8a7cf2
Update README.rst 2018-09-01 22:55:29 -04:00
Jerry Vonau
be7f21eb98 virtual environment for kolibri 2018-09-01 21:35:25 +00:00
A Holt
27ec80c593
Update main.yml 2018-07-19 22:01:57 -04:00
A Holt
8a46b11eec
Update kolibri.service.j2 2018-07-17 12:08:50 -04:00
A Holt
a29c0f40d8
Merge branch 'master' into daemon-reload 2018-07-16 17:01:17 -04:00
A Holt
787ac3bbe9
Update main.yml 2018-07-16 16:57:11 -04:00
A Holt
231717c1f3
Update main.yml 2018-07-16 16:23:07 -04:00
A Holt
2f31228a6f
Update main.yml 2018-07-16 16:19:18 -04:00