Skip to content

Instantly share code, notes, and snippets.

@swalkinshaw
Last active August 29, 2015 13:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save swalkinshaw/9696372 to your computer and use it in GitHub Desktop.
Save swalkinshaw/9696372 to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.require_version '>= 1.5.1'
Vagrant.configure('2') do |config|
config.vm.box = 'precise64'
config.vm.box_url = 'http://files.vagrantup.com/precise64.box'
config.vm.network :private_network, ip: '192.168.50.5'
config.vm.hostname = 'roots.dev'
config.vm.synced_folder '.', '/srv/www/roots.dev/current', owner: 'vagrant', group: 'www-data', mount_options: ['dmode=775', 'fmode=775']
config.vm.provision :ansible do |ansible|
ansible.playbook = '../bedrock-ansible/site.yml'
ansible.groups = {
'wordpress-server' => ['default']
}
ansible.extra_vars = {
ansible_ssh_user: 'vagrant',
user: 'vagrant'
}
ansible.sudo = true
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment