Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

README.md 1.09 KB
Newer Older
Adam Robinson's avatar
Adam Robinson committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
migrate_management_to_dvswitch
=========

This role will migrate the management interface (vmk0) from a standard vSwitch (vSwitch0) as created at install time to the specified
Distributed vSwitch.  It then cleans up the unneeded vSwitch0.

Requirements
------------

pyvmomi is required. This role assumes your inventory file contains each ESXi host you are managing.

Role Variables
--------------

### Required

- `management_portgroup` - The target DVswitch portgroup you would like management interface moved to.

- `management_dvswitch` - The target DVswitch that the previously mentioned `management_portgroup` is on.

Adam Robinson's avatar
Adam Robinson committed
21
- `management_dvswitch_vmnics` - The physical vmnic ports that should uplink to the `management_dvswitch`.
Adam Robinson's avatar
Adam Robinson committed
22

Adam Robinson's avatar
Adam Robinson committed
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
- `vcenter_hostname` - The hostname or address of the vCenter server.

- `inventory_hostname` - The hostname or address of the ESXi server.

Dependencies
------------

none

Example Playbook
----------------

TODO

License
-------

BSD

Author Information
------------------

An optional section for the role authors to include contact information, or a website (HTML is not allowed).