Git post-receive hooks

Now we are going to migrate from gitea to phabricator.
I have several post-receive hooks in git, I use them for launching Ansible playbook when a developer is pushing into git.

As I understand, phabricator doesn’t support post-receive hooks directly. Is there some approach to integrate these hooks into phabricator?

See ◉ Diffusion User Guide: Commit Hooks

You can use pre-receive hooks, or use Herald rules as Commit Hook or on Commit discovery.

Herald can execute a webhook (curl call), so it can probably trigger Ansible as needed.

Thank you for replying!

I suppose I will use AWX for Ansible to launch API and then phabracator is able to call ansible playbooks.