![]() ![]() # such as FTP and Heroku are also available. # Define a Vagrant Push strategy for pushing to Atlas. # View the documentation for the provider you are using for more # Customize the amount of memory on the VM: # Display the VirtualBox GUI when booting the machine # config.vm.provider "virtualbox" do |vb| # Provider-specific configuration so you can fine-tune various # config.vm.synced_folder "./data", "/vagrant_data" # argument is a set of non-required options. # the path on the guest to mount the folder. # the path on the host to the actual folder. # Share an additional folder to the guest VM. # Bridged networks make the machine appear as another physical device on ![]() # Create a public network, which generally matched to bridged network. # Create a private network, which allows host-only access to the machine # config.vm.network "forwarded_port", guest: 80, host: 8080 # accessing "localhost:8080" will access port 80 on the guest machine. # within the machine from a port on the host machine. # Create a forwarded port mapping which allows access to a specific port # boxes will only be checked for updates when the user runs # Every Vagrant development environment requires a box. # For a complete reference, please see the online documentation at # The most common configuration options are documented and commented below. Please don't change it unless you know what ![]() # configures the configuration version (we support older styles for # All Vagrant configuration is done below. If you're following along with the previous tutorial, Installing Vagrant and VirtualBox, you'll have a new Vagrantfile that looks like this: # -*- mode: ruby -*. If you prefer to just grab the final file, scroll to the bottom and I'll see you there. They are powerful tools on their own, and even better when combined! In this post you'll see how to set things up so Ansible and Vagrant can coexist in harmony. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |