From 6f73ebc64f6d521103c6a13bf08fd7829507e949 Mon Sep 17 00:00:00 2001 From: A Holt Date: Sun, 26 Nov 2017 10:54:17 -0500 Subject: [PATCH] parametrize Kiwix download defaults Due to accidental kiwix/tasks/main.yml & kiwix/tasks/kiwix_install.yml Ongoing work will be in separate branch/PR as was the intention. I goofed in editing master. Apologies. --- roles/kiwix/defaults/main.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/roles/kiwix/defaults/main.yml b/roles/kiwix/defaults/main.yml index a7b50dec1..4f0d4597b 100644 --- a/roles/kiwix/defaults/main.yml +++ b/roles/kiwix/defaults/main.yml @@ -1,11 +1,24 @@ -# The following 2 lines don't work as of Nov 2017: +# Which kiwix-tools to download from http://download.iiab.io/packages/ (origin: http://download.kiwix.org/nightly/) +kiwix_src_file_linux64: "kiwix-tools_linux64_2017-11-12.tar.gz" +kiwix_src_file_armhf: "kiwix-tools_armhf_2017-11-12.tar.gz" +# Experimental kiwix-0.10 from Oct 2016: (to be replaced before Feb 2018, SEE https://github.com/kiwix/kiwix-build/issues/94) +kiwix_src_file_i686: "kiwix-0.10-linux-i686.tar.bz2" +# Appears to be kiwix-0.9 from May 2014: +# kiwix_src_file_i686: "kiwix-linux-i686.tar.bz2" + +# The following 2 lines are unused as of Nov 2017: # kiwix_url: /kiwix # kiwix_path: "{{ iiab_base }}/kiwix" kiwix_port: 3000 + +# /library/zims contains 3 important things: {library.xml, content, index} iiab_zim_path: "{{ content_base }}/zims" kiwix_library_xml: "{{ iiab_zim_path }}/library.xml" kiwix_content_path: "{{ iiab_zim_path }}/content" + +# Installation variables kiwix_install: True kiwix_enabled: True -kiwix_content_found: False +# The following line is unused as of Nov 2017: +# kiwix_content_found: False kiwix_first_pass: False