Commit Graph

72 Commits (5c55c6c90ae418a2b6de74a1ea63e3b7d571589d)

Author SHA1 Message Date
Michael Scherer b78d708678 Port vsphere_guest to py3/py2.4 syntax (#3721) 9 years ago
Cheuk Lam d3097bf580 Added support for accepting extra config options in vm reconfiguration. (#3327) 9 years ago
Michael Fenn 09f14731f2 Support altering the virtual cdrom when state == reconfigured (#2394)
This allows a user to modify the state of the virtual cdrom in a VM
by using the state == reconfigured action.  This is useful for
provisioning VMs from templates which do not have ISO images connected.
9 years ago
Brian Coca 814527fca9 tolerate environment not being set
default will be the same as before, None/null
9 years ago
Brian Coca d540342984 Merge pull request #3007 from jasonk/vsphere_guest-env-vars
Enable env vars for vsphere_guest
9 years ago
Brian Coca 78f4f8c9bc Merge pull request #2728 from sysreq0/devel
vsphere_guest: Added support for resizing disks when state is 'reconfigured'
9 years ago
Matt Martz c7845456a6 Various simple linting type cleanups on modules 9 years ago
Jason Kohles 80d8277521 Enable env vars for vsphere_guest
This commit allows the connection information for
the vsphere_guest module to be provided as environment
variables, which makes it possible to use Cloud
Credentials from Ansible Tower in playbooks that utilize
vsphere_guest.

| ENV VAR         | vsphere_guest param    |
| --------------- | ---------------------- |
| VMWARE_HOST     | vcenter_hostname       |
| VMWARE_USER     | username               |
| VMWARE_PASSWORD | password               |
9 years ago
Toshio Kuratomi f5cdcfa1d9 Make validate_certs for vsphere_guest work with older python2 9 years ago
Stewart Rutledge c24f758a02 Changed insecure to validate_certs, with a default to true from false (reversing behavior) 9 years ago
Stewart Rutledge c13efdbd2b Added support for insecure parameter 9 years ago
Brian Coca 94101a7271 Merge pull request #2398 from luto/feature/vsphere_guest/facts_power_status
vsphere_guest: add power status to facts
9 years ago
Sebastien Couture 22b6e6a0ce moved code that gets the vm's current hard drive profile and checks if vm_disk definition count is higher than actual vm drive count out of for loop for efficiency 9 years ago
Sebastien Couture 080b158a29 Added support for resizing disks when state is 'reconfigured' 9 years ago
Charles Paul 5e91c7b4d4 adding no_log to password 9 years ago
Chrrrles Paul 92fd2a9436 Merge pull request #2564 from luto/feature/vsphere_guest/support_nested_folders
vsphere_guest: support putting a guest into a nested folder
9 years ago
Tobias Smolka 0cacadb670 Making cluster parameter optional 9 years ago
Chrrrles Paul a56d652c7b Merge pull request #2196 from fennm/vmware_clone_to_folder
Support cloning VMs into a specific VM folder
9 years ago
Chrrrles Paul b4254fe1a4 Merge pull request #2182 from serialdoom/devel
vsphere: automatically add new drives
9 years ago
luto 794911c592 vsphere_guest: support putting a guest into a nested folder 9 years ago
luto 7f01600813 vsphere_guest: when creating a guest, gather facts about it *before* disconnect 9 years ago
Stewart Rutledge adbc430984 Added support for reconfiguring network (moving to another switch, for example) 9 years ago
luto d5ed8381b6 vsphere_guest: add power status to facts 9 years ago
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.
9 years ago
Mike 8c9a9c0802 update_disks(): added origins of the code. 9 years ago
Mike Christofilopoulos 83074ad501 add new disks automatically when the 'vm_disk' section changes 9 years ago
Brian Coca a0997e8940 Merge pull request #1757 from gutoandreollo/devel
Added the 'hw_interfaces' array
9 years ago
Brian Coca b2e5dd2c47 Merge pull request #1807 from brannon/supportVMClones
Support cloning VMs (in addition to templates)
9 years ago
Charles Paul 6a40e8b454 vm_floppy 2.0 support 9 years ago
Chrrrles Paul 8ebd6cc7cd Revert "Add 2.0 docs - Revert "add virtual floppy to VMware guest"" 9 years ago
Chrrrles Paul 3830af652f Revert "add virtual floppy to VMware guest" 9 years ago
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
9 years ago
Brian Coca 697307f88c Merge pull request #1670 from mikeputnam/issue-1643-gpl-header
Add missing GPLv3 License header
9 years ago
brannon bf4403d547 Support creating new VMs by cloning an existing VM.
Support setting power state of cloned VMs.
9 years ago
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 9 years ago
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 9 years ago
Brian Coca 291fef3b34 fixed version added, reworded description a bit 9 years ago
Toshio Kuratomi e6ecca8809 Minor touch ups of vsphere_guest code. 9 years ago
Toshio Kuratomi 17cd8cddac Merge pull request #739 from NicCOConnor/vsphere_linkedclone
Added the ability to Linked_clone from snapshot in vsphere_guest module
9 years ago
Brian Coca 4d4d63c41e Merge pull request #1403 from aioue/patch-5
Update vsphere_guest.py
9 years ago
Nikolay Ivanko a24ffc1056 add virtual floppy to VMware guest 9 years ago
Nicholas O'Connor 9144785c42 Created option snapshot_to_clone. When specified, snapshot_to_clone will create a linked clone copy of the VM. 9 years ago
Nic O'Connor 706f5e25cc Added the ability to Linked_clone from snapshot 9 years ago
Tom Paine d6d6186aef Update vsphere_guest.py 9 years ago
Tom Paine d9db201b9a Update vsphere_guest.py 9 years ago
Mike Putnam 6c0e264806 Add missing GPLv3 License header
Fixes #1643
9 years ago
Brian Coca 047d7f0775 Merge pull request #1545 from vtsingaras/vsphere_guest_template_no_resourcepool
Use either esxi:dc,host OR cluster,resource_pool
10 years ago
Vyronas Tsingaras da62d04eff
This enable one to find a datastore with no config_target supplied
Signed-off-by: Vyronas Tsingaras <vtsingaras@it.auth.gr>
10 years ago
Vyronas Tsingaras 5b34f3d8bc Remember power state when starting vm reconfigure
This commit fixes #1391

Signed-off-by: Vyronas Tsingaras <vtsingaras@it.auth.gr>
10 years ago
Vyronas Tsingaras 5e72c5ad36
Properly check if vm_hardware contains keys
This commit fixes #1475

Signed-off-by: Vyronas Tsingaras <vtsingaras@it.auth.gr>
10 years ago