1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/kiwix/defaults/main.yml

47 lines
1.6 KiB
YAML
Raw Normal View History

2019-03-05 03:44:32 +00:00
# kiwix_install: True
# kiwix_enabled: True
2019-03-05 03:31:13 +00:00
2019-03-05 03:44:32 +00:00
# kiwix_port: 3000
2019-03-05 18:26:58 +00:00
# iiab_zim_path: "{{ content_base }}/zims" # /library/zims
2019-03-05 03:31:13 +00:00
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
2020-02-14 01:31:34 +00:00
# INSTRUCTIONS TO REINSTALL Kiwix:
# (1) VERIFY THESE VARS IN /etc/iiab/local_vars.yml
# kiwix_install: True
# kiwix_enabled: True
# (2) RUN: cd /opt/iiab/iiab; ./runrole --reinstall kiwix
2020-02-14 01:31:34 +00:00
# FYI /library/zims contains 3 important things:
2017-11-26 20:49:13 +00:00
# - library.xml
2020-01-11 17:15:37 +00:00
# - content = directory for all *.zim's
# - index = directory for legacy *.zim.idx's
kiwix_library_xml: "{{ iiab_zim_path }}/library.xml"
2020-02-14 01:52:28 +00:00
# 3 lines below specify which version(s) of kiwix-tools to download from...
2020-02-14 01:31:34 +00:00
# http://download.iiab.io/packages/ ...as originally obtained from...
# http://download.kiwix.org/release/kiwix-tools/ ...or sometimes...
# http://download.kiwix.org/nightly/
2022-05-18 11:03:39 +00:00
kiwix_version_armhf: kiwix-tools_linux-armhf-3.2.0-5
kiwix_version_linux64: kiwix-tools_linux-x86_64-3.2.0-5
kiwix_version_i686: kiwix-tools_linux-i586-3.2.0-5
2020-02-14 01:31:34 +00:00
# kiwix_src_file_i686: "kiwix-linux-i686.tar.bz2"
# v0.9 for i686 published May 2014 ("use it to test legacy ZIM content")
# v0.10 for i686 published Oct 2016 ("experimental") REPLACED IN EARLY 2018,
# thx to @mgautierfr / Matthieu Gautier:
# https://github.com/kiwix/kiwix-build/issues/94
# https://github.com/kiwix/kiwix-tools/issues/170
# Used for Kiwix proxy http://box/kiwix/
kiwix_url: /kiwix
kiwix_url_plus_slash: "{{ kiwix_url }}/" # /kiwix/
kiwix_path: "{{ iiab_base }}/kiwix" # /opt/iiab/kiwix
kiwix_nginx_timeout: 600
kiwix_threads: 4