-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
30 lines (23 loc) · 731 Bytes
/
Vagrantfile
File metadata and controls
30 lines (23 loc) · 731 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 = "ubuntu/trusty64"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.synced_folder "myapp", "/var/www/myapp", type: "rsync"
# Ansible Docs:
# Playbooks: http://docs.ansible.com/ansible/playbooks.html
# Best Practices: http://docs.ansible.com/ansible/playbooks_best_practices.html
config.vm.provision "ansible" do |ansible|
# ansible.verbose = "v"
ansible.sudo = true
ansible.playbook = "provisioning/playbook.yml"
ansible.extra_vars = {
nginx_hostname: "myapp",
web_project_name: "myapp",
node: {
port: 8080,
version: "4.2.4"
}
}
end
end