Commit Graph

78 Commits (ffefe5dde86cd5b1198eb5595c166a2b44d9b3d3)

Author SHA1 Message Date
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