Created
January 3, 2017 18:23
-
-
Save salvianoo/4e654c40d117abbf123d904bb287775c to your computer and use it in GitHub Desktop.
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 : | |
Vagrant.configure("2") do |config| | |
config.vm.box = 'ubuntu/trusty64' | |
config.vm.network 'public_network', ip: '192.168.33.101' | |
config.vm.network 'forwarded_port', guest: 80, host: 8080 | |
config.vm.network 'forwarded_port', guest: 3306, host: 3307 | |
config.vm.network 'forwarded_port', guest: 11211, host: 11211 | |
config.vm.network 'forwarded_port', guest: 6379, host: 6379 | |
config.vm.network 'forwarded_port', guest: 27017, host: 27017 | |
config.ssh.insert_key = false | |
config.vm.synced_folder '.', '/var/www/api_fretebras', owner: 'www-data', group: 'www-data' | |
############################################################# | |
# Ansible provisioning (you need to have ansible installed) | |
############################################################# | |
config.vm.provision "ansible" do |ansible| | |
ansible.playbook = "ansible/provision.yml" | |
# ansible.inventory_path = "ansible/inventory_default" | |
ansible.verbose = 'vv' | |
ansible.limit = 'all' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment