-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
26 lines (21 loc) · 890 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "archlinux/archlinux"
config.ssh.forward_agent = true
config.vm.network 'private_network', ip: '192.145.23.21'
config.vm.synced_folder '.', '/srv/share', id: 'vagrant-share', :nfs => true
config.vm.synced_folder '.', '/vagrant', disabled: true
config.vm.provider :virtualbox do |virtualbox|
virtualbox.customize ['modifyvm', :id, '--memory', 2048]
end
config.vm.provision 'ansible_local' do |ansible|
ansible.pip_install_cmd = 'curl https://bootstrap.pypa.io/get-pip.py | sudo python'
ansible.provisioning_path = '/srv/share/'
ansible.install_mode = 'pip'
ansible.version = '2.9.6'
ansible.playbook = 'playbooks/provision.yml'
ansible.inventory_path = 'inventory/devbox'
ansible.limit = 'home'
end
end