1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update ansible

This commit is contained in:
A Holt 2018-09-07 03:38:54 -04:00 committed by GitHub
parent 8a442dd1fb
commit b81001e506
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ echo -e 'COMPLETE INSTALL INSTRUCTIONS:\nhttps://github.com/iiab/iiab/wiki/IIAB-
echo -e 'NOW ATTEMPTING TO INSTALL THE LATEST ANSIBLE:'
echo -e 'Ensure you'"'"'re online before running this (/opt/iiab/iiab/scripts/ansible)\n'
echo -e 'ALTERNATIVES: Run scripts/ansible-2.6.x or scripts/ansible-2.5.x-deprecated\n\n'
echo -e 'ALTERNATIVE: Run scripts/ansible-2.6.x for "slow food"\n\n'
GOOD_VER="2.6.4" # Ansible version for OLPC XO laptops (pip install).
@ -19,7 +19,7 @@ CURR_VER="undefined"
export DEBIAN_FRONTEND=noninteractive
if [ ! `command -v ansible-playbook` ]; then # "command -v" is POSIX compliant; also catches built-in commands like "cd"
echo "scripts/ansible will now try to install Ansible --- Please Wait"
echo -e "scripts/ansible will now try to install Ansible --- Please Wait\n"
if [ -f /etc/centos-release ]; then
yum -y install ca-certificates nss epel-release
yum -y install git bzip2 file findutils gzip hg svn sudo tar which unzip xz zip libselinux-python