vagrant-vsphere | VMware vSphere provider for Vagrant | Plugin library
kandi X-RAY | vagrant-vsphere Summary
kandi X-RAY | vagrant-vsphere Summary
This is a Vagrant 1.6.4+ plugin that adds a vSphere provider to Vagrant, allowing Vagrant to control and provision machines using VMware. New machines are created from virtual machines or templates which must be configured prior to using this provider. This provider is built on top of the RbVmomi Ruby interface to the vSphere API.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vagrant-vsphere
vagrant-vsphere Key Features
vagrant-vsphere Examples and Code Snippets
Community Discussions
Trending Discussions on vagrant-vsphere
QUESTION
I have a vagrant job to create new VMs. Depending on the provider I pass to it, this could be created locally on Virtualbox, or on a Vsphere cluster with the vagrant-vsphere plugin.
Because of this, there are times when I want to run certain tasks on Virtualbox, and certain tasks on Vsphere. I figured the easiest way to do so would be to just pass a variable from Vagrant to ansible based on the provider. Roughly, this is what I have in my Vagrantfile so far.
...ANSWER
Answered 2018-Dec-19 at 00:32For this specific case, I think there is an easier way of achieving what you want. Ansible creates a series of facts for each host it runs against, which includes collecting virtualisation information for guests.Try adding the following task in one of your playbooks to see what I mean:
QUESTION
I want to use vagrant-vsphere and went through the steps described in https://github.com/nsidc/vagrant-vsphere/blob/master/README.md
Installation went fine. Now I am at this step:
...After installing the plugin, you must create a vSphere box. The example_box directory contains a metadata.json file that can be used to create a dummy box with the command:
ANSWER
Answered 2018-Mar-12 at 20:55Go to: https://github.com/nsidc/vagrant-vsphere/tree/master/example_box and download the metadata.json file. Move this file to your vagrant project directory and run the following command in your terminal:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vagrant-vsphere
The requirements for Nokogiri must be installed before the plugin can be installed. See the Nokogiri tutorial for detailed instructions. The plugin forces use of Nokogiri ~> 1.5 to prevent conflicts with older versions of system libraries, specifically zlib.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page