11 lines
260 B
YAML
11 lines
260 B
YAML
- name: Create Datacenter
|
|
vmware_datacenter:
|
|
datacenter_name: '{{ dc1 }}'
|
|
state: present
|
|
|
|
- name: Create a VM folder on given Datacenter
|
|
vcenter_folder:
|
|
datacenter: '{{ dc1 }}'
|
|
folder_name: '{{ f0 }}'
|
|
folder_type: vm
|
|
state: present
|