diff --git a/scripts/ansible b/scripts/ansible index 34353fae4..5a6028cc6 100755 --- a/scripts/ansible +++ b/scripts/ansible @@ -9,9 +9,9 @@ URL="NA" if [ $(which ansible-playbook) ]; then VER=`ansible --version|head -n 1|cut -f 2 -d " "` GOOD_VER=`echo $VER | grep ^2.4` -# 2.2.0.0 -> 2.4.0 patching was not applied -just upgrade via pip +# 2.2.0.0 -> 2.4.1+ patching was not applied -just upgrade via pip if [ $GOOD_VER = "" ]; then - echo "Ansible $VER installed updating to 2.4.0" + echo "Ansible $VER installed updating to 2.4.1" pip install --upgrade ansible==2.4.1 --disable-pip-version-check exit 0 fi @@ -99,12 +99,12 @@ fi ### start ansible pip install TODO add venv location /opt/iiab/anisble if [ $FAMILY = "olpc" ]; then - pip install ansible==2.4.0 --disable-pip-version-check + pip install ansible==2.4.1 --disable-pip-version-check VER=`ansible --version|head -n 1|cut -f 2 -d " "` echo "ansible version installed via pip $VER" fi -# handle 2.2.1 -> 2.4.0 deb install undo patching +# handle 2.2.1 -> 2.4.1+ deb install undo patching # unsure if install above will upgrade or skip - cover that now if [ $FAMILY = "debian" ]; then if [ ! $VER == "" ]; then