mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 19:52:06 +00:00
46 lines
1.6 KiB
YAML
46 lines
1.6 KiB
YAML
# kiwix_install: True
|
|
# kiwix_enabled: True
|
|
|
|
# kiwix_port: 3000
|
|
# iiab_zim_path: "{{ content_base }}/zims" # /library/zims
|
|
|
|
# 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!
|
|
|
|
|
|
# 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
|
|
|
|
|
|
# FYI /library/zims contains 3 important things:
|
|
# - library.xml
|
|
# - content = directory for all *.zim's
|
|
# - index = directory for legacy *.zim.idx's
|
|
kiwix_library_xml: "{{ iiab_zim_path }}/library.xml"
|
|
|
|
# 3 lines below specify which version(s) of kiwix-tools to download from...
|
|
# http://download.iiab.io/packages/ ...as originally obtained from...
|
|
# http://download.kiwix.org/release/kiwix-tools/ ...or sometimes...
|
|
# http://download.kiwix.org/nightly/
|
|
|
|
kiwix_version_armhf: kiwix-tools_linux-armhf-3.1.2
|
|
kiwix_version_linux64: kiwix-tools_linux-x86_64-3.1.2
|
|
kiwix_version_i686: kiwix-tools_linux-i586-3.1.2
|
|
|
|
# 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
|