mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
6d645c127f
The vmware test roles do a lot of similar operation to prepare the environment. This role will be used to reduce the amount of duplicated code. The role can prepare an environment on a baremetal environment, this in addition to vcsim. Original PR: https://github.com/ansible/ansible/pull/54882
25 lines
484 B
YAML
25 lines
484 B
YAML
dc1: DC0
|
|
ccr1: DC0_C0
|
|
ds1: LocalDS_0
|
|
ds2: LocalDS_1
|
|
f0: F0
|
|
switch1: switch1
|
|
dvswitch1: DVS0
|
|
# The ESXi entries in the inventory
|
|
esxi1: "{{ groups['esxi-lab'][0] }}"
|
|
esxi2: "{{ groups['esxi-lab'][1] }}"
|
|
infra:
|
|
datastores:
|
|
LocalDS_0:
|
|
type: nfs
|
|
server: 192.168.123.1
|
|
path: /srv/esx_lab/isos
|
|
ro: true
|
|
LocalDS_1:
|
|
type: nfs
|
|
server: 192.168.123.1
|
|
path: /srv/esx_lab/vms
|
|
ro: false
|
|
vm_list:
|
|
- DC0_C0_RP0_VM0
|
|
- DC0_C0_RP0_VM1
|