community.vmware
community.vmware copied to clipboard
Create cluster in non-default folder
SUMMARY
During cluster creation, use a specific already existing folder, not the datastore default
ISSUE TYPE
- Feature Idea
COMPONENT NAME
plugins/modules/vmware_cluster.py
ADDITIONAL INFORMATION
Currently clusters are created in a default location, but in many large environments there are lots of folders that have clusters inside of them.
- name: Create Cluster
community.vmware.vmware_cluster:
hostname: '{{ vcenter_hostname }}'
username: '{{ vcenter_username }}'
password: '{{ vcenter_password }}'
datacenter_name: datacenter
folder: '{{ folder_path }}"
cluster_name: cluster
delegate_to: localhost