mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +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
|
- name: Check for /opt/iiab/kiwix/bin/kiwix-serve binary
|
||||||
stat:
|
stat:
|
||||||
path: "{{ iiab_base }}/kiwix/bin/kiwix-serve"
|
path: "{{ kiwix_path }}/bin/kiwix-serve"
|
||||||
register: kiwix_bin
|
register: kiwix_bin
|
||||||
|
|
||||||
- name: Set kiwix_force_install if kiwix-serve not found
|
- name: Set kiwix_force_install if kiwix-serve not found
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
|
|
||||||
- name: Create /opt/iiab/kiwix/bin directory
|
- name: Create /opt/iiab/kiwix/bin directory
|
||||||
file:
|
file:
|
||||||
path: "{{ iiab_base }}/kiwix/bin"
|
path: "{{ kiwix_path }}/bin"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
- name: Unarchive Kiwix binaries to permanent location (NOT i686)
|
- name: Unarchive Kiwix binaries to permanent location (NOT i686)
|
||||||
unarchive:
|
unarchive:
|
||||||
src: "{{ downloads_dir }}/{{ kiwix_src_file }}"
|
src: "{{ downloads_dir }}/{{ kiwix_src_file }}"
|
||||||
dest: "{{ iiab_base }}/kiwix/bin"
|
dest: "{{ kiwix_path }}/bin"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
when: kiwix_src_bin_only and kiwix_force_install
|
when: kiwix_src_bin_only and kiwix_force_install
|
||||||
|
@ -78,7 +78,7 @@
|
||||||
when: not kiwix_src_bin_only and kiwix_force_install
|
when: not kiwix_src_bin_only and kiwix_force_install
|
||||||
|
|
||||||
- name: Move /tmp/kiwix*i686/bin/* to permanent location /opt/iiab/kiwix/bin (i686)
|
- 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
|
when: not kiwix_src_bin_only and kiwix_force_install
|
||||||
|
|
||||||
# 3. ENABLE MODS FOR APACHE PROXY IF DEBUNTU
|
# 3. ENABLE MODS FOR APACHE PROXY IF DEBUNTU
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue