# Which kiwix-tools to download from http://download.iiab.io/packages/
# As obtained from http://download.kiwix.org/release/kiwix-tools/ or http://download.kiwix.org/nightly/

kiwix_version_armhf: "kiwix-tools_linux-armhf-0.7.0"
kiwix_version_linux64: "kiwix-tools_linux-x86_64-0.7.0"
kiwix_version_i686: "kiwix-tools_linux-i586-0.7.0"
# 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 Matthieu Gautier:
# https://github.com/kiwix/kiwix-build/issues/94
# https://github.com/kiwix/kiwix-tools/issues/170

kiwix_src_file_armhf: "{{ kiwix_version_armhf }}.tar.gz"
kiwix_src_file_linux64: "{{ kiwix_version_linux64 }}.tar.gz"
kiwix_src_file_i686: "{{ kiwix_version_i686 }}.tar.gz"

kiwix_port: 3000
# Used for Kiwix proxy http://box/kiwix/
kiwix_url: /kiwix/
kiwix_alias_url: /kiwix
kiwix_path: "{{ iiab_base }}/kiwix"

# /library/zims contains 3 important things:
# - library.xml
# - content directory for all *.zim's
# - index directory for legacy *.zim.idx's
iiab_zim_path: "{{ content_base }}/zims"
kiwix_library_xml: "{{ iiab_zim_path }}/library.xml"

# Installation Variables
kiwix_install: True
kiwix_enabled: True
# MOVE FILE /opt/iiab/kiwix/bin/kiwix-serve TO FORCE A REINSTALL OF kiwix-tools
kiwix_force_install: False
