1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

scripts/ansible: clean up output/comments

This commit is contained in:
A Holt 2020-09-15 02:17:31 -04:00 committed by GitHub
parent a7909a6d32
commit 3b32fd88c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@
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.1" # Orig for 'yum install [rpm]' & XO laptops (pip install)
# We install latest ansible-base from PPA: (may be more recent than GOOD-VER)
# We install latest 'ansible-base' from PPA: (may be more recent than GOOD-VER)
# https://launchpad.net/~ansible/+archive/ubuntu/ansible
# https://launchpad.net/~ansible/+archive/ubuntu/ansible-2.10
# http://ppa.launchpad.net/ansible/ansible/ubuntu/pool/main/a/ansible-base/
@ -13,7 +13,7 @@ export DEBIAN_FRONTEND=noninteractive
# Why 'noninteractive' appears needed:
# https://github.com/iiab/iiab/issues/564#issuecomment-347264985
echo -e "\n\nYOU ARE RUNNING: /opt/iiab/iiab/scripts/ansible (TO INSTALL ANSIBLE)"
echo -e "\n\nYOU ARE RUNNING: /opt/iiab/iiab/scripts/ansible (TO INSTALL ANSIBLE)\n"
#echo -e 'Alternative: /opt/iiab/iiab/scripts/ansible-2.9.x ("Slow Food")\n'
echo -e "RECOMMENDED PREREQUISITES:"
@ -33,7 +33,7 @@ if [ $(command -v ansible) ]; then # "command -v" is POSIX compliant; also ca
else
echo -e "ANSIBLE NOT FOUND ON THIS COMPUTER -- LET'S TRY TO INSTALL IT!"
fi
echo -e "(Internet-in-a-Box requests Ansible $GOOD_VER or higher)\n"
echo -e "(Internet-in-a-Box requests ansible-base $GOOD_VER or higher)\n"
if [ ! -f /etc/debian_version ]; then # e.g. Raspbian, Ubuntu, Mint & Debian
echo -e "\nEXITING: /etc/debian_version FILE NOT FOUND. Linux OS support info here:"