mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
{{ iiab_path }}/kiwix -> {{ kiwix_path }}
This commit is contained in:
parent
c14584b81c
commit
4c8795b22d
1 changed files with 4 additions and 4 deletions
|
@ -31,7 +31,7 @@
|
|||
|
||||
- name: Check for /opt/iiab/kiwix/bin/kiwix-serve binary
|
||||
stat:
|
||||
path: "{{ iiab_base }}/kiwix/bin/kiwix-serve"
|
||||
path: "{{ kiwix_path }}/bin/kiwix-serve"
|
||||
register: kiwix_bin
|
||||
|
||||
- name: Set kiwix_force_install if kiwix-serve not found
|
||||
|
@ -51,7 +51,7 @@
|
|||
|
||||
- name: Create /opt/iiab/kiwix/bin directory
|
||||
file:
|
||||
path: "{{ iiab_base }}/kiwix/bin"
|
||||
path: "{{ kiwix_path }}/bin"
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
|
@ -63,7 +63,7 @@
|
|||
- name: Unarchive Kiwix binaries to permanent location (NOT i686)
|
||||
unarchive:
|
||||
src: "{{ downloads_dir }}/{{ kiwix_src_file }}"
|
||||
dest: "{{ iiab_base }}/kiwix/bin"
|
||||
dest: "{{ kiwix_path }}/bin"
|
||||
owner: root
|
||||
group: root
|
||||
when: kiwix_src_bin_only and kiwix_force_install
|
||||
|
@ -78,7 +78,7 @@
|
|||
when: not kiwix_src_bin_only and kiwix_force_install
|
||||
|
||||
- name: Move /tmp/kiwix*i686/bin/* to permanent location /opt/iiab/kiwix/bin (i686)
|
||||
shell: "mv /tmp/kiwix*i686/bin/* /opt/iiab/kiwix/bin/"
|
||||
shell: "mv /tmp/kiwix*i686/bin/* {{ kiwix_path }}/bin/"
|
||||
when: not kiwix_src_bin_only and kiwix_force_install
|
||||
|
||||
# 3. ENABLE MODS FOR APACHE PROXY IF DEBUNTU
|
||||
|
|
Loading…
Reference in a new issue