1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_ntp.git synced 2024-08-16 12:59:49 +02:00
ansible_role_ntp/tests/vagrant/vagrant_openbsd_target.rb
2018-12-28 12:26:05 +01:00

9 lines
359 B
Ruby

Vagrant.configure(2) do |config|
config.vm.provision "shell", inline: <<-SHELL
OPENBSD_VERSION=`uname -a | awk -F " " '{print $3}'`
wget -P /tmp https://ftp.openbsd.org/pub/OpenBSD/${OPENBSD_VERSION}/amd64/xbase64.tgz
cd / && tar xzvphf /tmp/xbase64.tgz
pkg_add -z ansible
ln -s /usr/local/bin/python2.7 /usr/bin/python
SHELL
end