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-04-05 04:08:06 -04:00 committed by GitHub
parent 5fa3cfd118
commit 82a24a1ccb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,8 +4,9 @@
# can proceed. Ensure you're online before running this script!
GOOD_VER="2.4.4" # Ansible version to pip install onto OLPC XO laptops.
# On other OS's we install/upgrade to the latest Ansible 2.4.x
# (Pin to 2.5.x in the near-future, for IIAB 6.6?)
# On other OS's we install/upgrade/pin to the latest Ansible 2.4.x
# (Whereas for the upcoming IIAB 6.6, we'll likely
# recommend the very latest Ansible 2.5.x or higher)
CURR_VER="undefined"
# FOUND="false" # NOT USED AS OF 2017-12-12
# FAMILY="undefined" # NOT USED AS OF 2017-12-12
@ -15,7 +16,7 @@ CURR_VER="undefined"
export DEBIAN_FRONTEND=noninteractive
# if ! which ansible-playbook ; then
if [[ ! `command -v ansible-playbook` ]]; then
if [ ! `command -v ansible-playbook` ]; then
echo "Installing --- Please Wait"
if [ -f /etc/centos-release ]; then
yum -y install ca-certificates nss epel-release