Created
January 13, 2016 07:50
-
-
Save StalkAlex/83812b7f43a053cd228b 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
Vagrant.configure(2) do |config| | |
config.vm.provider :virtualbox do |v| | |
v.name = "my_name" | |
v.customize [ | |
"modifyvm", :id, | |
"--name", "my_name", | |
"--memory", 1024, | |
"--cpus", 1, | |
] | |
end | |
config.vm.box = "centos/7" | |
config.vm.network "forwarded_port", guest: 80, host: 8080 | |
config.vm.network "forwarded_port", guest: 5432, host: 54320 | |
config.vbguest.auto_update = true | |
config.vm.provision "ansible_local" do |ansible| | |
ansible.playbook = "ansible/install.yml" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment