You could ensure the VMs don't automatically start and use an Ansible playbook to start the VMs in the order you like.
Something like:
---- name: Playbook to start the VMs in the required order
hosts: localhost
tasks:
- name: Authenticate with RHV
ovirt.ovirt.ovirt_auth:
url: "{{ rhvm_url }}"
username: "{{ rhvm_username }}"
password: "{{ rhvm_password }}"
- name: "{{ vm }}: Connect to RHV and power the VM on"
ovirt.ovirt.ovirt_vm:
auth: "{{ ovirt_auth }}"
state: running
name: "{{ vm }}"
async: 180
poll: 0
loop:
- vm1
- vm2
- vm3
loop_control:
loop_var: vm
You'll need ansible installed (obviously) but also the ovirt.ovirt ansible collection.
This is easily done with something like:
https_proxy=http://your_proxy:3128 ansible-galaxy collection install ovirt.ovirtRemove the
https_proxy if its not required.
Hope that helps