diff --git a/scripts/ansible b/scripts/ansible index 0a039c342..f192876c6 100755 --- a/scripts/ansible +++ b/scripts/ansible @@ -41,19 +41,19 @@ if [ -f /etc/debian_version ]; then # might pickup usbmount confirm ppa location # echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" >> /etc/apt/sources.list # apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367 -# apt-get update - apt-get install ansible git python-pip python-setuptools python-wheel patch + apt-get -y update + apt-get -y install ansible git python-pip python-setuptools python-wheel patch # apt-get install ansible python-kerberos python-selinux python-winrm python-xmltodict sshpass bzip2 file findutils gzip tar unzip zip python-keyczar python-boto python-dnspython python-pyrax python-sphere FOUND="yes" FAMILY="debian" fi if [ `grep -qi ubuntu /etc/lsb-release` ] || [ `grep -qi ubuntu /etc/os-release` ]; then - apt-get update + apt-get -y update # confirm PPA location # apt-get install software-properties-common # apt-add-repository ppa:ansible/ansible # apt-get update - apt-get install ansible git python-pip python-setuptools python-wheel patch + apt-get -y install ansible git python-pip python-setuptools python-wheel patch # apt-get install ansible python-kerberos python-selinux python-winrm python-xmltodict sshpass bzip2 file findutils gzip tar unzip zip python-keyczar python-boto python-dnspython python-pyrax python-sphere FOUND="yes" FAMILY="debian" @@ -62,8 +62,8 @@ fi if [ `grep -qi raspbian /etc/*elease` ]; then apt-get update # apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367 -# apt-get update - apt-get install ansible git python-pip python-setuptools python-wheel patch + apt-get -y update + apt-get -y install ansible git python-pip python-setuptools python-wheel patch # apt-get install ansible python-kerberos python-selinux python-winrm python-xmltodict sshpass bzip2 file findutils gzip tar unzip zip python-keyczar python-boto python-dnspython python-pyrax python-sphere FOUND="yes" FAMILY="debian"