Commit graph

52 commits

Author SHA1 Message Date
Chrrrles Paul
a56d652c7b Merge pull request #2196 from fennm/vmware_clone_to_folder
Support cloning VMs into a specific VM folder
2015-12-11 09:52:42 -05:00
Chrrrles Paul
b4254fe1a4 Merge pull request #2182 from serialdoom/devel
vsphere: automatically add new drives
2015-12-11 09:47:45 -05:00
Stewart Rutledge
adbc430984 Added support for reconfiguring network (moving to another switch, for example) 2015-11-04 14:22:08 +01:00
Michael Fenn
9b04ca55f1 Support cloning VMs into a specific VM folder
The pysphere VIVirtualMachine.clone() method supports specifying a VM
folder to place the VM in after the clone has completed.  This exposes
that functionality to playbooks.

Also documents that creating VMs could always place VMs in a specific
folder.
2015-10-03 14:31:22 -04:00
Mike
8c9a9c0802 update_disks(): added origins of the code. 2015-10-01 17:38:46 +01:00
Mike Christofilopoulos
83074ad501 add new disks automatically when the 'vm_disk' section changes 2015-10-01 17:29:21 +01:00
Brian Coca
a0997e8940 Merge pull request #1757 from gutoandreollo/devel
Added the 'hw_interfaces' array
2015-09-14 15:08:47 -04:00
Brian Coca
b2e5dd2c47 Merge pull request #1807 from brannon/supportVMClones
Support cloning VMs (in addition to templates)
2015-09-14 14:26:48 -04:00
Charles Paul
6a40e8b454 vm_floppy 2.0 support 2015-09-01 14:53:11 -05:00
Chrrrles Paul
8ebd6cc7cd Revert "Add 2.0 docs - Revert "add virtual floppy to VMware guest"" 2015-09-01 10:55:10 -05:00
Chrrrles Paul
3830af652f Revert "add virtual floppy to VMware guest" 2015-09-01 10:47:43 -05:00
Chrrrles Paul
943a892435 Merge pull request #1720 from nivanko/feature-virtual-floppy
Useful addition to vsphere_guest and the code looks good.  I will do more testing.  Merging into devel branch -- add virtual floppy to VMware guest
2015-09-01 09:26:20 -05:00
Brian Coca
697307f88c Merge pull request #1670 from mikeputnam/issue-1643-gpl-header
Add missing GPLv3 License header
2015-07-30 14:39:44 -04:00
brannon
bf4403d547 Support creating new VMs by cloning an existing VM.
Support setting power state of cloned VMs.
2015-07-25 17:16:10 -07:00
Guto Andreollo
b00fe3e22b Added the 'hw_interfaces' array, listing the names of all interfaces present on the VM as 'ansible_interfaces' lists the ones seen by the operating system 2015-07-20 18:39:31 -03:00
otdw
dd691779a1 removed required together for resource pools, clusters, and template deployments. fixes inability to deploy from template on vsphere clusters without resource pools. Also, resource pools and cluster should not be required together as they are independant in vsphere 2015-07-14 15:56:14 -07:00
Brian Coca
291fef3b34 fixed version added, reworded description a bit 2015-07-14 17:03:21 -04:00
Toshio Kuratomi
e6ecca8809 Minor touch ups of vsphere_guest code. 2015-07-14 07:27:09 -07:00
Toshio Kuratomi
17cd8cddac Merge pull request #739 from NicCOConnor/vsphere_linkedclone
Added the ability to Linked_clone from snapshot in vsphere_guest module
2015-07-14 07:20:38 -07:00
Brian Coca
4d4d63c41e Merge pull request #1403 from aioue/patch-5
Update vsphere_guest.py
2015-07-13 09:58:06 -04:00
Nikolay Ivanko
a24ffc1056 add virtual floppy to VMware guest 2015-07-13 14:31:39 +03:00
Nicholas O'Connor
9144785c42 Created option snapshot_to_clone. When specified, snapshot_to_clone will create a linked clone copy of the VM. 2015-07-09 16:46:39 -04:00
Nic O'Connor
706f5e25cc Added the ability to Linked_clone from snapshot 2015-07-08 15:01:01 -04:00
Tom Paine
d6d6186aef Update vsphere_guest.py 2015-07-07 20:30:33 +01:00
Tom Paine
d9db201b9a Update vsphere_guest.py 2015-07-07 20:30:07 +01:00
Mike Putnam
6c0e264806 Add missing GPLv3 License header
Fixes #1643
2015-07-03 22:57:53 -05:00
Brian Coca
047d7f0775 Merge pull request #1545 from vtsingaras/vsphere_guest_template_no_resourcepool
Use either esxi:dc,host OR cluster,resource_pool
2015-06-19 09:28:56 -04:00
Vyronas Tsingaras
da62d04eff
This enable one to find a datastore with no config_target supplied
Signed-off-by: Vyronas Tsingaras <vtsingaras@it.auth.gr>
2015-06-19 13:04:19 +03:00
Vyronas Tsingaras
5b34f3d8bc Remember power state when starting vm reconfigure
This commit fixes #1391

Signed-off-by: Vyronas Tsingaras <vtsingaras@it.auth.gr>
2015-06-18 21:33:16 +03:00
Vyronas Tsingaras
5e72c5ad36
Properly check if vm_hardware contains keys
This commit fixes #1475

Signed-off-by: Vyronas Tsingaras <vtsingaras@it.auth.gr>
2015-06-18 14:23:43 +03:00
Vyronas Tsingaras
f4a86aab7f
Use either esxi:dc,host OR cluster,resource_pool
vsphere_guest now can deploy a template using a datacenter and hostname
as the target, instead of requiring a cluster and resource_pool.

This commit fixes #951.

Signed-off-by: Vyronas Tsingaras <vtsingaras@it.auth.gr>
2015-06-18 13:55:54 +03:00
Greg DeKoenigsberg
28a869a030 Updating cloud modules with proper github author information 2015-06-15 14:41:22 -04:00
Tom Paine
c64a3eb03d Update vsphere_guest.py 2015-05-28 19:08:52 +01:00
Tom Paine
7325d6a8ef Update vsphere_guest.py
Remove redundant description.
2015-05-22 19:07:28 +01:00
Tom Paine
0ec4c43931 Update vsphere_guest.py
Spelling mistake.
2015-05-22 19:05:25 +01:00
Tom Paine
14d7073b51 Update vsphere_guest.py
Remove etc. As reconfigure only reconfigures RAM and CPU.
2015-05-22 18:43:20 +01:00
Tom Paine
6a04f0d452 Update vsphere_guest.py
Clarifies that when using a template, CPU, RAM, NIC and Disk params are silently ignored.
2015-05-22 18:40:35 +01:00
Tom Paine
3d1b6285c3 Update vsphere_guest.py
Clear up confusing action where disk and hardware state can be passed to a reconfigure but is ignored (module only changes CPU and RAM when state is 'reconfigured' and ignore everything else.
2015-05-22 18:21:56 +01:00
Tom Paine
3183ab6da1 Update vsphere_guest.py
Add mounted ISO image to examples.
2015-05-21 12:52:52 +01:00
Tom Paine
ed07502587 Update vsphere_guest.py
Add example distributed virtual switch example so vm_nic options are clearer.
2015-05-20 16:01:29 +01:00
Toshio Kuratomi
81b476cd02 Update module "imports" to new style
Fixes #1351
2015-05-18 11:59:20 -07:00
Toshio Kuratomi
60a66a544d Several cleanups to many modules:
* Fix docs to specify when python2.6+ is required (due to a library
  dep).  This helps us know when it is okay to use python2.6+ syntax in
  the file.
* remove BabyJson returns.  See #1211  This commit fixes all but the
  openstack modules.
* Use if __name__ == '__main__' to only run the main part of the module
  if the module is run as a program.  This allows for the potential to
  unittest the code later.
2015-05-11 12:15:53 -07:00
Brian Coca
53404c786a added version added for new template options 2015-01-06 16:06:45 -05:00
Mark Phillips
8ede9de895 vsphere_guest fix for KeyError: folder message 2014-12-24 12:39:48 +00:00
Toshio Kuratomi
51ed13b887 Fix documentation build 2014-12-16 11:50:41 -08:00
Brian Coca
4cfc8d6950 Merge pull request #72 from stewrutledge/vmtemplate
Added support for deploying virtual machine from a virtual template
2014-12-15 20:01:54 -05:00
IndyMichaelB
5a628aacd4 docfix for vsphere_guest.py
Corrected parameter name from user to username in documentation
2014-11-16 16:59:57 -05:00
Stewart Rutledge
6d79518d67 Fixed a typo on power options 2014-11-13 22:01:26 +01:00
sterutkb
1dd20197b1 Added support for deploying virtual machine from a virtual template 2014-11-13 22:00:57 +01:00
Fwiffo
6cb8a5f312 typo in comments: of -> or 2014-11-07 15:20:49 -08:00