Hook before_provision, hook script declared is not working after new host creation

Problem:
need to run a script on the foreman host server when ever any new host is created using hypervisor node, used hook /usr/share/foreman/config/hooks/host/managed/before_provision/10_a.sh

It is being loaded but the script is not running after the new host is created and up!

Expected outcome:
script should run after new deployment as declared in hooks

Foreman and Proxy versions:
1.19
Foreman and Proxy plugin versions:

Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]
(for logs, surround with three back-ticks to get proper formatting, e.g.)

logs

I know this is super confusing, but host/managed/before_provision triggers when a host completes the OS install. Specifically when “call home” aka “built” is triggered (via finish or cloud-init in case of VM). Try another hook.