Hey guys, I've recently been looking to control vsphere via Ansible which
lead me to this thread. Noticed a couple pull requests that were before the
September 26th git core-module/extra-module split by the Ansible team. Just
wanted to revive this thread for those that had PRs that were closed
Hi all,
I've added quite a bit to the vsphere_guest module to fit our needs, but
haven't submitted PR due to lack of time to generalize / create
documentation. I'm also the author of PR 7609 referenced above. Things that
I've added are the ability to change dvs switch as part of reconfigure,
Snapshots let you store the state of a vm to roll back to later. It's
different from cloning. I searched the module for clone and template
and neither is there.
The examples don't cover all the config options, nor do the docs.
vm_hardware: memory_mb: 2048 num_cpus: 2 osid: centos64Guest scsi:
I actually recently got approval to release a module I wrote to manage
vsphere. You can find it at https://github.com/ViaSat/ansible-vsphere
We currently use this to manage our datacenter of test and development vms.
It uses pyvmomi which is VMWares python library for interacting with the
After using both, I definitely like using pyvmomi better. Since the API is
almost identical to the Vsphere API I was able to use not only the API docs
from vmware, but docs for rbvmomi, rvc, and even the java vmware sdk and
apply it towards getting the module to do what I want.
As for adding a
I'm open to anything that keeps the same compatible Ansible module
signature.
On Wed, Aug 20, 2014 at 10:54 PM, Tony Kinsley tkinsle...@gmail.com wrote:
After using both, I definitely like using pyvmomi better. Since the API is
almost identical to the Vsphere API I was able to use not only
Hi, I'm new to ansible and vmware and came across this post which is
exactly what I need to do. Forgive me if this is answered elsewhere, but is
there a way to configure the vsphere_guest module to clone a virtual
machine or start a virtual machine from a template?
On Thursday, July 10,
Hi, is there a chance that cloning will be added to the vsphere_guest
module in an upcoming release?
On Thursday, July 10, 2014 9:08:23 AM UTC-4, kesten broughton wrote:
I would agree, cloning functionality belongs in vsphere_guest module if
possible.
On Wednesday, July 9, 2014 4:30:32 PM
I would agree, cloning functionality belongs in vsphere_guest module if
possible.
On Wednesday, July 9, 2014 4:30:32 PM UTC-5, Michael DeHaan wrote:
It seems in this case we should try to work the features into the existing
module, since they are both about creating guests?
On Wed, Jul
This is actually already in core.
On Wed, Jul 9, 2014 at 8:11 AM, kesten broughton kesten.brough...@gmail.com
wrote:
If you've got a public git branch, i can help with testing and
documentation.
I've worked with pysphere a bit.
kesten
On Tuesday, July 8, 2014 6:23:06 PM UTC-5, Corey
I was referring to the vsphere_clone mentioned, not vsphere_guest which is
in trunk https://github.com/ansible/ansible/tree/devel/library/cloud
As far as i can tell, vsphere_guest currently only supports creating a vm
from .iso
What i really need is creating clones from a template.
k
On Wed,
It seems in this case we should try to work the features into the existing
module, since they are both about creating guests?
On Wed, Jul 9, 2014 at 3:54 PM, kesten broughton kesten.brough...@gmail.com
wrote:
I was referring to the vsphere_clone mentioned, not vsphere_guest which is
in
Sounds like we'd be interested in taking a look at least, and a PR is a
good way to get that in the queue. I will admit now the queue is quite
longish as we're powering through things the best we can.
I imagine if async is not used, it's a blocking operation, and the async
operation in ansible
In looking at my original proposal, I think combining two unique
implementations of Async functionality is going to be a bad idea, if not
for being difficult to troubleshoot and impossible to test, for being a bad
design.
Instead, I would like to suggest not using PySphere Async support and have
14 matches
Mail list logo