-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
37 lines (30 loc) · 964 Bytes
/
Vagrantfile
File metadata and controls
37 lines (30 loc) · 964 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
31
32
33
34
35
36
37
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
# Custom box created from mint 19 iso image
config.vm.box = "mint20"
#config.vm.base_mac = "080027932970"
config.vm.provider "virtualbox" do |v|
v.gui = true
v.cpus = 4
v.memory = 8096
end
config.vm.provision "shell", run: "once", inline: <<-SHELL
apt-get update
apt-get install -y software-properties-common
apt-add-repository --yes ppa:ansible/ansible
apt-get update
apt-get install -y ansible
SHELL
config.ssh.username = "test"
config.ssh.password = "test"
config.vm.provision "ansible_local" do |ansible|
ansible.playbook = "setup.yml"
# ansible.verbose = "vvvvv"
ansible.limit = 'all,localhost'
ansible.install = false
end
end