ansible/test/integration/targets/prepare_vmware_tests/tasks/setup_datacenter.yml
2019-10-11 19:46:54 +05:30

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