Skip to content

Commit

Permalink
initial vagrantfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Freedman committed Jan 25, 2015
1 parent 7480171 commit 8ebcc0b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure('2') do |config|
config.vm.define 'anxs' do |c|
c.vm.box = 'anxs-vbox-linux'
c.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box"
c.vm.network :private_network, ip: "192.168.88.2"
c.vm.hostname = "anxs-nginx.local"
c.vm.provision "ansible" do |ansible|
ansible.playbook = "test.yml"
ansible.sudo = true
ansible.inventory_path = "vagrant-inventory"
ansible.host_key_checking = false
end
end
end
2 changes: 2 additions & 0 deletions vagrant-inventory
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[anxs]
anxs-nodejs.local ansible_ssh_host=192.168.88.2 ansible_ssh_port=22

0 comments on commit 8ebcc0b

Please sign in to comment.