Created
May 29, 2017 15:45
-
-
Save rgodishela/c51078bfe508b27cdfe5c87af927901d to your computer and use it in GitHub Desktop.
This file contains 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 : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
config.vm.box = "fedora/23-cloud-base" | |
config.vm.box_check_update = true | |
config.vm.provider "virtualbox" do |vb| | |
vb.gui = true | |
vb.memory = "2048" | |
end | |
config.vm.provision "shell", inline: <<-SHELL | |
sudo dnf update -y | |
sudo dnf install python -y | |
sudo dnf install ansible -y | |
SHELL | |
config.vm.provision "ansible_local" do |ansible| | |
ansible.playbook = "playbook.yml" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment