Commit Graph

76 Commits (5128a11cdca479590605c52ee5dd4155e5de68ab)

Author SHA1 Message Date
Joseph Callen 9da3e2c5b6 New VMware Module to support adding distributed portgroups 2016-12-08 11:33:13 -05:00
Joseph Callen 03ecc4e657 New VMware Module to support adding standard portgroups 2016-12-08 11:33:13 -05:00
Russell Teague 1d770af4f3 Adding vmware_vm_facts module 2016-12-08 11:33:13 -05:00
Russell Teague d30e466103 Adding vmware_vsan_cluster module 2016-12-08 11:33:12 -05:00
Russell Teague d24a648a1d 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}
```
2016-12-08 11:33:12 -05:00
Joseph Callen 35087325a8 New VMware Module to support configuring DNS on ESXi hosts 2016-12-08 11:33:12 -05:00
Brian Coca e3bdd556cd removed empty notes 2016-12-08 11:33:12 -05:00
Brian Coca e3692395ef minor doc updates to vmware_cluster 2016-12-08 11:33:12 -05:00
Joseph Callen 0ea19499ae New VMware Module to support adding a cluster to vCenter 2016-12-08 11:33:12 -05:00
Jonathan Davila 5e31e37f9e Doc string fix for vsphere_copy 2016-12-08 11:33:07 -05:00
Benno Joy bd9eca2d30 update license 2016-12-08 11:33:05 -05:00
Benno Joy b49b1c6d7d Module for modifying NAT rules in vcloud or vcd 2016-12-08 11:33:05 -05:00
Benno Joy 6abf3a856d Module for modifying firewall rules in vcloud or vcd 2016-12-08 11:33:05 -05:00
Brian Coca 040f72f811 fixed license and copyright 2016-12-08 11:33:03 -05:00
Brian Coca b17859d8d5 removed redundant version added 2016-12-08 11:33:03 -05:00
Benno Joy 58af9f159e Module for creating vapp/vm in vcloud or vcd 2016-12-08 11:33:03 -05:00
Matt Martz bfa9852fc7 Update vsphere_copy.py to use new style module_utils import 2016-12-08 11:32:56 -05:00
Dag Wieers ab7a8a6a11 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.
2016-12-08 11:32:56 -05:00
Brian Coca c73d248ba6 monior docfixes added extensino to vsphere_copy so it actually installs 2016-12-08 11:32:52 -05:00
Dag Wieers 209ba9aed0 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.
2016-12-08 11:32:52 -05:00
Brian Coca 6ababec09f minor doc update 2016-12-08 11:32:51 -05:00
Dag Wieers 9197b84236 New module to copy (push) files to a vCenter datastore 2016-12-08 11:32:51 -05:00
Greg DeKoenigsberg c65a612d1f Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
Toshio Kuratomi 4f07e8b256 Many more doc fixes 2016-12-08 11:32:40 -05:00
Toshio Kuratomi 43687f1940 Update module documentation if modules have a dep on python2.6+ 2016-12-08 11:32:36 -05:00
Brian Coca 948c05ac5e moved new module to proper subdir fixed doc issues minor code adjustments 2016-12-08 11:32:34 -05:00