Skip to content

Instantly share code, notes, and snippets.

@mid0111
Created Jun 8, 2014
Embed
What would you like to do?
Vagrantfile for provisioning by Ansible
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "centos65-hubot"
config.vm.box_url = "https://github.com/2creatives/vagrant-centos/releases/download/v6.5.3/centos65-x86_64-20140116.box"
config.vm.network "public_network", ip: "192.168.0.21"
config.vm.provision "ansible" do |ansible|
ansible.limit = 'all'
ansible.inventory_path = "hosts"
ansible.playbook = "provisioning/playbook.yml"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment