Launch ansible playbook from alert


Can I launch an ansible playbook when an alert is triggered?
I know that in an alert we can configure a “Send management event” but the “management event” corresponds to an instance in “/System/Event/CustomEvent/Alert” in “Automate”.

What I want to do is instead of mapping the alert to an “Automate instance”, is to map the alert to an Ansible playbook.

Can it be done?