mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
final touchups
This commit is contained in:
parent
c43241ccd2
commit
0b0cbfd8e1
2 changed files with 6 additions and 6 deletions
|
@ -4,8 +4,8 @@
|
||||||
enabled: no
|
enabled: no
|
||||||
state: stopped
|
state: stopped
|
||||||
|
|
||||||
- name: Update '{{ kiwix_library_xml }}'
|
- name: Update {{ kiwix_library_xml }}
|
||||||
command: /usr/bin/iiab-make-kiwix-lib
|
command: /usr/bin/iiab-make-kiwix-lib
|
||||||
when: kiwix_enabled
|
when: kiwix_enabled
|
||||||
# the above starts the service
|
# the above starts the service
|
||||||
|
|
||||||
|
|
|
@ -49,17 +49,17 @@
|
||||||
- "{{ iiab_zim_path }}/content"
|
- "{{ iiab_zim_path }}/content"
|
||||||
- "{{ iiab_zim_path }}/index"
|
- "{{ iiab_zim_path }}/index"
|
||||||
|
|
||||||
- name: Check for {{ kiwix_library_xml }}
|
- name: Check for {{ iiab_zim_path }}/content/*
|
||||||
stat:
|
stat:
|
||||||
path: "{{ kiwix_library_xml }}" # /library/zims/library.xml
|
path: "{{ iiab_zim_path }}/content/*"
|
||||||
register: kiwix_xml
|
register: kiwix_zims
|
||||||
|
|
||||||
- name: Install {{ iiab_zim_path }}/content/test.zim
|
- name: Install {{ iiab_zim_path }}/content/test.zim
|
||||||
copy:
|
copy:
|
||||||
src: test.zim
|
src: test.zim
|
||||||
dest: "{{ iiab_zim_path }}/content/test.zim"
|
dest: "{{ iiab_zim_path }}/content/test.zim"
|
||||||
force: no
|
force: no
|
||||||
when: not kiwix_xml.stat.exists
|
when: not kiwix_zims.stat.exists
|
||||||
|
|
||||||
|
|
||||||
# 2. INSTALL KIWIX-TOOLS EXECUTABLES
|
# 2. INSTALL KIWIX-TOOLS EXECUTABLES
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue