Created
February 24, 2015 15:36
-
-
Save ryuone/cc406f63a685e92c373d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.define :node1 do |node| | |
node.vm.box = "ubuntu-14.04" | |
node.vm.network "private_network", ip: "192.168.50.10" | |
node.vm.provider "virtualbox" do |vb| | |
vb.name = "webserver" | |
vb.customize ["modifyvm", :id, "--memory", "512"] | |
end | |
node.vm.provision :ansible do |ansible| | |
ansible.playbook = 'provision_node1.yml' | |
ansible.inventory_path = "ansible_hosts_node1" | |
ansible.limit = 'all' | |
ansible.verbose = 'v' | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment