mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
force fail in both situations (bad arch, tarfile missing)
This commit is contained in:
parent
aea4cf2332
commit
5d6ca04928
1 changed files with 3 additions and 3 deletions
|
@ -17,8 +17,9 @@
|
||||||
when: ansible_machine == "i686"
|
when: ansible_machine == "i686"
|
||||||
# COMMENT OUT LINE ABOVE TO TEST i686 CODE PATH ON X86_64 (WORKS NOV 2017)
|
# COMMENT OUT LINE ABOVE TO TEST i686 CODE PATH ON X86_64 (WORKS NOV 2017)
|
||||||
|
|
||||||
- name: Warn them if kiwix-tools appears unavailable for OS/architecture"
|
- name: FAIL (force Ansible to exit) IF kiwix-tools appears unavailable for OS/architecture
|
||||||
debug:
|
# debug:
|
||||||
|
fail:
|
||||||
msg: "WARNING: kiwix-tools SOFTWARE APPEARS UNAVAILABLE FOR YOUR {{ ansible_machine }} OS/ARCHITECTURE."
|
msg: "WARNING: kiwix-tools SOFTWARE APPEARS UNAVAILABLE FOR YOUR {{ ansible_machine }} OS/ARCHITECTURE."
|
||||||
when: not kiwix_src_file
|
when: not kiwix_src_file
|
||||||
|
|
||||||
|
@ -39,6 +40,5 @@
|
||||||
when: not kiwix_src.stat.exists
|
when: not kiwix_src.stat.exists
|
||||||
|
|
||||||
- include_tasks: kiwix_install.yml
|
- include_tasks: kiwix_install.yml
|
||||||
# when: kiwix_src_file is defined
|
|
||||||
tags:
|
tags:
|
||||||
- kiwix
|
- kiwix
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue