Hi,

we don't have such a callback. Currently we support only custom Ansible playbooks during host deploy process, which can be used for example to define custom firewall rules:

https://www.ovirt.org/documentation/administration_guide/#Configuring_Host_Firewall_Rules

But it's a general playbook, so any other customization can be done.

Could you please share with us more details about your use case?

Thanks,
Martin

On Tue, Jan 26, 2021 at 10:11 AM Michal Mocnak <michal@marigan.net> wrote:
Hello,

is there a way how to trigger custom ansible playbooks ? For example when VM is created i'd like to automatically trigger playbook to define exact MAC address.

I guess this is not possible to integrate via VDSM hook as they are executed on the host basis. Maybe it's possible to write UI plugin but i didn't find as much in documentation. Thank you so much !

Cheers
-m
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/7LRAC5TOAJ3TWYX4DISIKIBJK5HJIKEV/


--
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.