-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
30 lines (22 loc) · 716 Bytes
/
Vagrantfile
File metadata and controls
30 lines (22 loc) · 716 Bytes
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
27
28
29
30
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "bento/ubuntu-16.04"
config.ssh.forward_agent = true
config.vm.hostname = "pf3server"
config.vm.network "private_network", ip: "192.168.31.10"
config.vm.provider "virtualbox" do |vb|
vb.memory = "512"
vb.name = "pf3server"
end
config.vm.synced_folder '.', '/vagrant', type: 'nfs'
config.vm.provision "ansible" do |ansible|
ansible.groups = {
"pf3server" => [ "default" ],
}
ansible.playbook = "ansible/site.yml"
ansible.extra_vars = { ansible_ssh_user: "vagrant", ansible_ssh_pipelining: "True" }
ansible.become = true
ansible.compatibility_mode = "2.0"
end
end