summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2017-07-07 22:28:53 -0700
committerMatt Clay <matt@mystile.com>2017-07-07 23:27:01 -0700
commit2146bb57ce79211e4effa8d89290f2d6c484fcda (patch)
tree7ccde633bc970948e94168b790cf5e95b69b21a3
parent4a013d6d69dda656ca11cc6ede0fd2444afae051 (diff)
downloadansible-2146bb57ce79211e4effa8d89290f2d6c484fcda.tar.gz
Simplify FreeBSD setup for tests.
-rw-r--r--test/runner/setup/remote.sh16
1 files changed, 6 insertions, 10 deletions
diff --git a/test/runner/setup/remote.sh b/test/runner/setup/remote.sh
index 8c3198c74a..250e1b55d5 100644
--- a/test/runner/setup/remote.sh
+++ b/test/runner/setup/remote.sh
@@ -9,25 +9,21 @@ env
cd ~/
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 \
bash \
+ curl \
devel/ruby-gems \
+ git \
gtar \
mercurial \
+ python \
rsync \
ruby \
subversion \
sudo \
- zip
+ zip \
+
+ pip --version 2>/dev/null || curl --silent --show-error https://bootstrap.pypa.io/get-pip.py | python
elif [ "${platform}" = "rhel" ]; then
yum update -y