60
|
1 |
# -*- mode: ruby -*- |
|
2 |
# vi: set ft=ruby : |
|
3 |
|
|
4 |
Vagrant.configure("2") do |config| |
|
5 |
config.vm.box = "ubuntu/bionic64" |
|
6 |
|
|
7 |
config.vm.network "forwarded_port", guest: 4000, host: 4000 |
|
8 |
# config.vm.synced_folder "../data", "/vagrant_data" |
|
9 |
|
|
10 |
# config.vm.provider "virtualbox" do |vb| |
|
11 |
# # Display the VirtualBox GUI when booting the machine |
|
12 |
# vb.gui = true |
|
13 |
# |
|
14 |
# # Customize the amount of memory on the VM: |
|
15 |
# vb.memory = "1024" |
|
16 |
# end |
|
17 |
|
|
18 |
config.vm.provision "ansible" do |ansible| |
|
19 |
ansible.limit = "all,localhost" |
|
20 |
# ansible.verbose = "vvv" |
|
21 |
ansible.playbook = "vagrant.yaml" |
|
22 |
ansible.compatibility_mode = "2.0" |
|
23 |
end |
|
24 |
end |