To run custom scripts alongside MetroAE, you can use Hooks. Hooks are predefined locations that precede specific MetroAE workflows. You can think of them as places in the code where MetroAE can execute commands on your behalf. These commands can be any executable available on the Ansible host. If the command is a script, it has access to the full range of MetroAE’s Ansible variable.
To find more information about Hooks, take a look at the Hooks and Skip Actions file in the documentation.