mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 11:10:21 -07:00
Simplify FreeBSD setup for tests.
This commit is contained in:
parent
4a013d6d69
commit
2146bb57ce
1 changed files with 6 additions and 10 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue