1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

final touchups

This commit is contained in:
Jerry Vonau 2020-11-08 19:30:31 +00:00
parent c43241ccd2
commit 0b0cbfd8e1
2 changed files with 6 additions and 6 deletions

View file

@ -4,8 +4,8 @@
enabled: no
state: stopped
- name: Update '{{ kiwix_library_xml }}'
command: /usr/bin/iiab-make-kiwix-lib
- name: Update {{ kiwix_library_xml }}
command: /usr/bin/iiab-make-kiwix-lib
when: kiwix_enabled
# the above starts the service

View file

@ -49,17 +49,17 @@
- "{{ iiab_zim_path }}/content"
- "{{ iiab_zim_path }}/index"
- name: Check for {{ kiwix_library_xml }}
- name: Check for {{ iiab_zim_path }}/content/*
stat:
path: "{{ kiwix_library_xml }}" # /library/zims/library.xml
register: kiwix_xml
path: "{{ iiab_zim_path }}/content/*"
register: kiwix_zims
- name: Install {{ iiab_zim_path }}/content/test.zim
copy:
src: test.zim
dest: "{{ iiab_zim_path }}/content/test.zim"
force: no
when: not kiwix_xml.stat.exists
when: not kiwix_zims.stat.exists
# 2. INSTALL KIWIX-TOOLS EXECUTABLES