1
0
Fork 0
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:
A Holt 2017-11-27 13:07:28 -05:00 committed by GitHub
parent c14584b81c
commit 4c8795b22d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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