Packer templates for building Vagrant boxes customized by Evolix.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
342 B

set -eu
DEBIAN_FRONTEND=noninteractive apt-get -yq install build-essential python-dev python-virtualenv git
if [ ! -d venv ]; then
virtualenv /tmp/venv
. /tmp/venv/bin/activate && pip install "git+${ANSIBLE_VERSION}"; deactivate