Created
June 8, 2014 03:25
-
-
Save mid0111/e748c930b115baa65fe2 to your computer and use it in GitHub Desktop.
Vagrantfile for provisioning by Ansible
This file contains hidden or 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/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