DRS groups
Description
This Ansible playbook checks DRS groups on vCenter servers. It connects to the servers using provided credentials and processes clusters to manage VMs and VM Hosts. VMs are categorized into DRS groups based on their primary datastores (AC or CPF) and updated accordingly. VM Hosts are categorized into DRS groups based on their names (even-numbered for CPF and odd-numbered for AC). The playbook handles errors during connection and processing, logs information and errors, and disconnects from vSphere at the end. If any changes are made, it sets the Ansible changed flag to true. The playbook is delegated to srvaapwinpr01.gentgrp.gent.be
Credentials
- sys_ansible_vmware
- sys_srvaapwin_batch (script user on srvaapwin)
- sys_ansible_windows
Input
| Variable | Description |
|---|---|
VcServers |
Name of the vSphere server |
Output
None