|
|
|
@ -9,25 +9,21 @@ env
|
|
|
|
cd ~/
|
|
|
|
cd ~/
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${platform}" = "freebsd" ]; then
|
|
|
|
if [ "${platform}" = "freebsd" ]; then
|
|
|
|
pkg install -y curl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ ! -f bootstrap.sh ]; then
|
|
|
|
|
|
|
|
curl "https://raw.githubusercontent.com/mattclay/ansible-hacking/master/bootstrap.sh" -o bootstrap.sh -#
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chmod +x bootstrap.sh
|
|
|
|
|
|
|
|
./bootstrap.sh pip -y -q
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pkg install -y \
|
|
|
|
pkg install -y \
|
|
|
|
bash \
|
|
|
|
bash \
|
|
|
|
|
|
|
|
curl \
|
|
|
|
devel/ruby-gems \
|
|
|
|
devel/ruby-gems \
|
|
|
|
|
|
|
|
git \
|
|
|
|
gtar \
|
|
|
|
gtar \
|
|
|
|
mercurial \
|
|
|
|
mercurial \
|
|
|
|
|
|
|
|
python \
|
|
|
|
rsync \
|
|
|
|
rsync \
|
|
|
|
ruby \
|
|
|
|
ruby \
|
|
|
|
subversion \
|
|
|
|
subversion \
|
|
|
|
sudo \
|
|
|
|
sudo \
|
|
|
|
zip
|
|
|
|
zip \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pip --version 2>/dev/null || curl --silent --show-error https://bootstrap.pypa.io/get-pip.py | python
|
|
|
|
elif [ "${platform}" = "rhel" ]; then
|
|
|
|
elif [ "${platform}" = "rhel" ]; then
|
|
|
|
yum update -y
|
|
|
|
yum update -y
|
|
|
|
|
|
|
|
|
|
|
|
|