mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
use -y for automation
This commit is contained in:
parent
c3b0435f32
commit
ce340e0d80
1 changed files with 6 additions and 6 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue