-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathinventory.yml.example
30 lines (30 loc) · 1.48 KB
/
inventory.yml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
## The "qemu-img convert" command that we run is single threaded, so it doesn't
## have much of a risk of impacting the hypervisor you've chosen. With that being
## said, it might still make sense to put it in maintenance mode for the duration
## of the play. It's also NOT a requirement that the HV you choose is running the
## VMs you plan to migrate. In fact, it could just be any linux server that has all
## the right datastores mounted.
all:
children:
rhvhost:
hosts:
## This should be a SINGLE RHV host, it will be in charge of converting
## the existing RAW disk image from RHV.
esxihost:
hosts:
## This should be a SINGLE ESXi host, it will be in charge of inflating
## the new VMDK.
vmsToMigrate:
hosts:
## This should be a list of all the VMs you want to migrate in this batch.
## WARNING: All the VMs in this list will be powered down simultaneously,
## and powered back up as soon as their disk has been converted. Don't
## put redundant systems in this list, or you're gonna have a really fun
## time explaining that in an RCA meeting.
children:
no_guest_preparation:
hosts:
## The above comment remains true, but any hosts in this list will
## not have any guest preparation steps (vmtools install, network/bootloader config)
## performed. This might be desireable for Windows hosts, where you've already
## performed that work.