mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
commit
0377637440
2 changed files with 11 additions and 6 deletions
|
@ -1,11 +1,15 @@
|
|||
#!/bin/bash -e
|
||||
# FWIW "-e" tries to exit right away on error:
|
||||
# https://tldp.org/LDP/abs/html/options.html
|
||||
# https://stackoverflow.com/questions/9952177/whats-the-meaning-of-the-parameter-e-for-bash-shell-command-line/9952249
|
||||
|
||||
# PLZ SEE http://FAQ.IIAB.IO > "What is Ansible and what version should I use?"
|
||||
# https://github.com/iiab/iiab/tree/master/scripts/ansible.md
|
||||
# https://github.com/iiab/iiab/wiki/IIAB-Contributors-Guide#ansible
|
||||
|
||||
APT_PATH=/usr/bin # Avoids problematic /usr/local/bin/apt on Linux Mint
|
||||
CURR_VER="undefined" # Ansible version you currently have installed
|
||||
GOOD_VER="2.10.6" # Orig for 'yum install [rpm]' & XO laptops (pip install)
|
||||
APT_PATH=/usr/bin # Avoids problematic /usr/local/bin/apt on Linux Mint
|
||||
CURR_VER=undefined # Ansible version you currently have installed
|
||||
GOOD_VER=2.10.6 # Orig for 'yum install [rpm]' & XO laptops (pip install)
|
||||
|
||||
# We install the latest 'ansible-base' from PPA, using an OS 'CODENAME' below:
|
||||
# https://launchpad.net/~ansible/+archive/ubuntu/ansible
|
||||
|
@ -53,7 +57,7 @@ echo -e "\n\nYOU ARE RUNNING: /opt/iiab/iiab/scripts/ansible (TO INSTALL ANSIBLE
|
|||
echo -e "RECOMMENDED PREREQUISITES:"
|
||||
echo -e "(1) Verify you're online"
|
||||
echo -e "(2) Remove all prior versions of Ansible using..."
|
||||
echo -e " 'apt purge ansible-base' and/or 'pip uninstall ansible-base' and/or"
|
||||
echo -e " 'apt purge ansible-base' and/or 'pip3 uninstall ansible-base' and/or"
|
||||
echo -e " 'apt purge ansible' and/or 'pip uninstall ansible'"
|
||||
echo -e "(3) Remove all lines containing 'ansible' from..."
|
||||
echo -e " /etc/apt/sources.list and /etc/apt/sources.list.d/*\n"
|
||||
|
@ -71,7 +75,7 @@ echo -e "(Internet-in-a-Box requests ansible-base $GOOD_VER or higher)\n"
|
|||
|
||||
# Code above designed to work on all Linux distributions, to preserve options,
|
||||
# in support of any volunteer(s) wanting to port IIAB to a new Linux/distro.
|
||||
if [ ! -f /etc/debian_version ]; then # e.g. Raspbian, Ubuntu, Mint & Debian
|
||||
if [ ! -f /etc/debian_version ]; then # e.g. RaspiOS, Ubuntu, Mint & Debian
|
||||
echo -e "\nEXITING: /etc/debian_version FILE NOT FOUND. Linux OS support info here:"
|
||||
echo -e " https://github.com/iiab/iiab/wiki/IIAB-Platforms\n"
|
||||
exit 1
|
||||
|
|
|
@ -32,5 +32,6 @@ minetest_server_bin: /library/games/minetest/bin/minetestserver
|
|||
minetest_working_dir: /library/games/minetest
|
||||
minetest_game_dir: /library/games/minetest/games/minetest_game
|
||||
minetest_rpi_src_tar: minetest.5.1.1.tar.gz
|
||||
minetest_rpi_src_url: "http://www.nathansalapat.com/downloads/{{ minetest_rpi_src_tar }}"
|
||||
#minetest_rpi_src_url: "http://www.nathansalapat.com/downloads/{{ minetest_rpi_src_tar }}"
|
||||
minetest_rpi_src_url: "http://d.iiab.io/packages/{{ minetest_rpi_src_tar }}"
|
||||
minetest_rpi_src_untarred: Minetest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue