mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update ansible
This commit is contained in:
parent
5fa3cfd118
commit
82a24a1ccb
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue