Commit Graph

127 Commits (9278cce7d2755786a598cbc655c7df4440a2f68d)

Author SHA1 Message Date
Charles Paul 0ba3d85522 use doc fragments 9 years ago
Toshio Kuratomi d6af6f8477 Update for modules which import json.
Some do not use the json module directly so don't need import json.
Some needed to fallback to simplejson with no traceback if neither was installed

Fixes #1298
9 years ago
Charles Paul 6f4aaecb6a adding no_log to password 9 years ago
Matthew Jones c157dbe55a Fix up vsphere_copy after open_url change
* Remove leading module parameter on open_url call as it's no longer used
  by module_utils.urls.open_url
* Force basic auth otherwise vsphere will just return a 401
9 years ago
Chrrrles Paul 0ee578e938 Changing docs to reflect vm_name as the default vm_id_type 9 years ago
Charles Paul 7ded482e6c pep8 whitespace 9 years ago
Charles Paul 51813e0033 upped version added, search by vm_name by default 9 years ago
Ritesh Khadgaray 426e76dddb vmware_vm_shell: add the ability to start program without network connection 9 years ago
Toshio Kuratomi 4bf75fca9f Merge pull request #788 from ansible/open_url-vsphere-copy
Port vsphere_copy from httplib to open_url for TLS cert validation
9 years ago
Charles Paul 51bb65c9a3 reference instance_id in docs, fixes for calls to fail_json 9 years ago
Matt Martz 1a76f4cc22 Fix interpreter line in a few vmware modules 9 years ago
Peter Sprygada 0f90661752 cleaned up vca_vapp module to focus on managing vapps 9 years ago
Chrrrles Paul 6950db5d01 Merge pull request #991 from privateip/vca_nat
updated vca_nat module to use common vca library
9 years ago
Chrrrles Paul 2476fe8325 Merge pull request #992 from privateip/vca_vapp
refactor vca_vapp to use vca common module
9 years ago
Peter Sprygada fedef0c958 refactor vca_vapp to use vca common module 9 years ago
Peter Sprygada 71ecaeb9f0 refactored vca_fw to use vca common module 9 years ago
Peter Sprygada a4f1653b95 updated vca_nat module to use common vca library 9 years ago
Peter Sprygada 356e867721 adds missing serialize_instance function 9 years ago
Toshio Kuratomi 6a3cf63351 correct documentation formatting 9 years ago
Chrrrles Paul 80cae51b16 Merge pull request #873 from jcpowermac/add_vmware_migrate_vmk_module
Merge into extra for further testing and feedback  --  New VMware Module to support migrating vmkernel adapter
9 years ago
Chrrrles Paul f20d10728e Merge pull request #874 from mtnbikenc/add_vmware_target_canonical_facts_module
Merging for further testing / feedback.
9 years ago
Chrrrles Paul 50b3612fef Merge pull request #889 from ansible/revert-884-revert-867-add_vmware_vmkernel_ip_config_module
Merge for real now -- Merge in devel extras for further testing and feedback --  Revert "Revert "New VMware ...
9 years ago
Chrrrles Paul 2ccbc5830e Merge pull request #870 from mtnbikenc/add_vmware_vm_vss_dvs_migrate_module
Merge in devel for further testing, and hopefully discussion with community about future direction for the cloud/vmware modules. -- 

New VMware Module to support migrating a VM from a vSS to a vDS
9 years ago
Chrrrles Paul 2647d2b637 Revert "Revert "New VMware Module to support configuring a VMware vmkernel IP…" 9 years ago
Chrrrles Paul 02e3adf402 Revert "New VMware Module to support configuring a VMware vmkernel IP Address" 9 years ago
Chrrrles Paul 7ef187bbbd Merge pull request #867 from mtnbikenc/add_vmware_vmkernel_ip_config_module
Looks good -- can extend if more customization of virtualnic spec is needed --   New VMware Module to support configuring a VMware vmkernel IP Address
9 years ago
Chrrrles Paul 2c7afe17f0 Merge pull request #869 from jcpowermac/add_vmware_dvswitch_module
Merging for further testing -- New VMware Module to support adding distribute vswitch
9 years ago
Chrrrles Paul e7fbbc8528 Merge pull request #871 from jcpowermac/add_vmware_host_module
New VMware Module to support adding a ESXi host to vCenter
9 years ago
Chrrrles Paul 091bd6b1ff Merge pull request #868 from mtnbikenc/add_vmware_vmkernel_module
Merging for further testing -- New VMware Module to support adding a VMware vmkernel interface
9 years ago
Chrrrles Paul d8197a3b7f Merge pull request #866 from jcpowermac/add_vmware_dvs_portgroup_module
New VMware Module to support adding distributed portgroups -- Looks good to me
9 years ago
Brian Coca c6fe5ced14 Merge pull request #875 from jcpowermac/add_vmware_portgroup_module
New VMware Module to support adding standard portgroups
9 years ago
Brian Coca 3e50a40803 Merge pull request #872 from mtnbikenc/add_vmware_vm_facts_module
New VMware Module to support gathering the list of VMs
9 years ago
Brian Coca 818ff40653 Merge pull request #865 from mtnbikenc/add_vmware_vsan_cluster_module
New VMware Module to support adding a VMware vSAN cluster
9 years ago
Brian Coca 34b6daa843 Merge pull request #864 from jcpowermac/add_vmware_dvs_host_module
New VMware Module to support adding an ESXi host to a distrib switch
9 years ago
Brian Coca 2d66b5708b Merge pull request #863 from mtnbikenc/add_vmware_vswitch_module
New VMware Module to support adding a VMware vSwitch
9 years ago
Joseph Callen 6ca9e7c25f New VMware Module to support adding standard portgroups 9 years ago
Russell Teague c48945c10e Adding vmware_target_canonical_facts module 9 years ago
Joseph Callen 09a6760c51 New VMware Module to support migrating vmkernel adapter 9 years ago
Russell Teague c4b0375eb5 Adding vmware_vm_facts module 9 years ago
Joseph Callen a2e15f07f8 New VMware Module to support adding an ESXi host to vCenter 9 years ago
Russell Teague d5e3bd770a Adding vmware_vm_vss_dvs_migrate module 9 years ago
Russell Teague 72579ab3e1 Adding vmware_vmkernel module 9 years ago
Joseph Callen 7beea8a152 New VMware Module to support adding distribute vswitch 9 years ago
Russell Teague 6fbadff17c Adding vmware_vmkernel_ip_config module 9 years ago
Joseph Callen 6945519411 New VMware Module to support adding distributed portgroups 9 years ago
Russell Teague 9cb1e214cb Adding vmware_vsan_cluster module 9 years ago
Brian Coca bbe1fcf443 Merge pull request #862 from jcpowermac/add_vmware_dns_config_module
New VMware Module to support configuring DNS on ESXi hosts
9 years ago
Brian Coca c4a7221c82 removed empty notes 9 years ago
Joseph Callen 55f59cec54 New VMware Module to support adding an ESXi host to a distributed vswitch 9 years ago
Brian Coca b0fae45be4 minor doc updates to vmware_cluster 9 years ago
Russell Teague b82e15a73b This includes a new module for VMware vSphere
Creates a VMware vSwitch

We have an end-to-end playbook that performs bare metal provisioning and
configuration of vSphere.
The playbooks/tasks and results from that testing is what will be listed
in this PR.
If there are any questions please let either @jcpowermac or @mtnbikenc
know.

Tested with version
```
$ ansible-playbook --version
ansible-playbook 1.9.2
  configured module search path = None

```

Associated tasks used for testing below
```
    - name: Add a temporary vSwitch
      local_action:
        module: vmware_vswitch
        hostname: "{{ inventory_hostname }}"
        username: "{{ esxi_username }}"
        password: "{{ site_passwd }}"
        switch_name: temp_vswitch
        nic_name: "{{ vss_vmnic }}"
        mtu: 9000

```

Verbose testing output and results
```
TASK: [Configure ESXi hostname and DNS servers]
*******************************
<127.0.0.1> REMOTE_MODULE vmware_dns_config password=VALUE_HIDDEN
hostname=foundation-esxi-01 change_hostname_to=cscesxtmp001
domainname=lordbusiness.local dns_servers=192.168.70.3,192.168.70.4
username=root
<127.0.0.1> REMOTE_MODULE vmware_dns_config password=VALUE_HIDDEN
hostname=foundation-esxi-02 change_hostname_to=cscesxtmp002
domainname=lordbusiness.local dns_servers=192.168.70.3,192.168.70.4
username=root
<127.0.0.1> REMOTE_MODULE vmware_dns_config password=VALUE_HIDDEN
hostname=foundation-esxi-03 change_hostname_to=cscesxtmp003
domainname=lordbusiness.local dns_servers=192.168.70.3,192.168.70.4
username=root
changed: [foundation-esxi-01 -> 127.0.0.1] => {"changed": true}
changed: [foundation-esxi-03 -> 127.0.0.1] => {"changed": true}
changed: [foundation-esxi-02 -> 127.0.0.1] => {"changed": true}
```
9 years ago
Joseph Callen b66c62aab0 New VMware Module to support configuring DNS on ESXi hosts 9 years ago
Joseph Callen 9f47f57700 New VMware Module to support adding a cluster to vCenter 9 years ago
Toshio Kuratomi dce3d4054e Return errno and http status as requested by @bcoca 9 years ago
Jonathan Davila 757b952be4 Doc string fix for vsphere_copy 9 years ago
Toshio Kuratomi 3ec3e77d53 Better status conditional from dagwieers 9 years ago
Toshio Kuratomi 1e18550805 Port vsphere_copy from httplib to open_url for TLS cert validation 9 years ago
Brian Coca 74c20b0639 Merge pull request #748 from bennojoy/vca_nat
Module for modifying nat rules  in vcloud air or vcd
9 years ago
Brian Coca 322c1a871c Merge pull request #747 from bennojoy/vca_fw
Module for modifying firewall rules  in vcloud air or vcd
9 years ago
Benno Joy abaf4ce59d update license 9 years ago
Benno Joy 047e37a28c update license 9 years ago
Brian Coca dfdd2bb5ed fixed license and copyright 9 years ago
Brian Coca e35778feba removed redundant version added 9 years ago
Benno Joy ff2009136f Module for modifying NAT rules in vcloud or vcd 9 years ago
Benno Joy 71e08d6c3f Module for modifying firewall rules in vcloud or vcd 9 years ago
Benno Joy 85ee695cf3 Module for creating vapp/vm in vcloud or vcd 9 years ago
Matt Martz 9f9422fcb5 Update vsphere_copy.py to use new style module_utils import 10 years ago
Dag Wieers 57e7a6662a Work around a software bug in vSphere
Due to a software bug in vSphere, it fails to handle ampersand in datacenter names.
The solution is to do what vSphere does (when browsing) and double-encode ampersands.

It is likely other characters need special treatment like this as well, haven't found any.
10 years ago
Brian Coca 1604382538 monior docfixes
added extensino to vsphere_copy so it actually installs
10 years ago
Dag Wieers d0cf9617a5 Spurious newline could corrupt payload
Due to a spurious newline we corrupted the payload. It depends on the order of the headers and if there were headers added by vSphere.

The Accept header was also not needed.
10 years ago
Brian Coca 9db032aa11 minor doc update 10 years ago
Dag Wieers 330e66327a New module to copy (push) files to a vCenter datastore 10 years ago
Greg DeKoenigsberg 004dedba8a Changes to author formatting, remove emails 10 years ago
Toshio Kuratomi 88eff11c04 Many more doc fixes 10 years ago
Greg DeKoenigsberg dfd227f82c Adding author's github id 10 years ago
Toshio Kuratomi a589a66710 Update module documentation if modules have a dep on python2.6+ 10 years ago
Brian Coca 3148aafa17 moved new module to proper subdir
fixed doc issues
minor code adjustments
10 years ago