974e8cec3d
Add the ability to run test with just a VCSA instance. This allow us to test a subset of tests that don't need any ESXi nodes.
21 lines
483 B
YAML
21 lines
483 B
YAML
---
|
|
|
|
- name: load vmware common vars
|
|
include_vars:
|
|
file: common.yml
|
|
|
|
- when: vcsim is not defined
|
|
block:
|
|
- when: esxi1_hostname is not defined and esxi2_hostname is not defined
|
|
include_vars:
|
|
file: vcenter_only.yml
|
|
|
|
- when: esxi1_hostname is defined and esxi2_hostname is defined
|
|
include_vars:
|
|
file: vcenter_with_2_nodes.yml
|
|
|
|
- when: vcsim is not defined
|
|
include_tasks: init_real_lab.yml
|
|
|
|
- when: vcsim is defined
|
|
include_tasks: init_vcsim.yml
|