Created
September 4, 2014 19:29
-
-
Save jephir/f76f918f28b7d0241ae0 to your computer and use it in GitHub Desktop.
Vagrantfile for FreeBSD with 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| | |
config.vm.box = "chef/freebsd-10.0" | |
config.vm.network "private_network", type: "dhcp" | |
config.vm.synced_folder ".", "/vagrant", type: "nfs" | |
config.vm.provision "shell", | |
inline: "pkg install -y python" | |
config.vm.provision "ansible" do |ansible| | |
ansible.playbook = "playbook.yml" | |
ansible.extra_vars = { | |
ansible_python_interpreter: "/usr/local/bin/python", | |
} | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment