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

Ansible output clarifs to kiwix/tasks/main.yml

This commit is contained in:
A Holt 2017-11-14 00:24:11 -05:00 committed by GitHub
parent ad8880e02f
commit e93a4beb5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,20 +4,20 @@
# kiwix_src_bin_only: False
# when: ansible_machine == "i686"
- name: Set kiwix source file name x86_64
- name: Set Kiwix filename to d/l: kiwix-tools_linux64_2017-11-12.tar.gz (x86_64)
set_fact:
kiwix_src_file: "kiwix-tools_linux64_2017-11-12.tar.gz"
kiwix_src_bin_only: True
when: ansible_machine == "x86_64"
- name: Set kiwix source file name armv7l
- name: Set Kiwix filename to d/l: kiwix-tools_armhf_2017-11-12.tar.gz (armv6l or armv71)
set_fact:
kiwix_src_file: "kiwix-tools_armhf_2017-11-12.tar.gz"
kiwix_src_bin_only: True
when: ansible_machine == "armv7l" or ansible_machine == "armv6l"
- name: Get the Kiwix software
get_url: url="{{ iiab_download_url }}/{{ kiwix_src_file }}" dest="{{ downloads_dir }}/{{ kiwix_src_file }}"
- name: Download the Kiwix software to /opt/iiab/downloads
get_url: url="{{ iiab_download_url }}/{{ kiwix_src_file }}" dest="{{ downloads_dir }}/{{ kiwix_src_file }}"
when: internet_available
- include_tasks: kiwix_install.yml
@ -25,5 +25,5 @@
tags:
- kiwix
- debug: msg="WARNING kiwix source is not defined for your platform"
- debug: msg="WARNING kiwix source is not defined for your platform"
when: not kiwix_src_file