Q: run local command/script on katello server before remote execution on host/client is triggered/executed

Dear all,

is there a possibilty to run a local command/script locally on the Katello server itself within a “Remote Execution Template” but before ssh commands are triggered/executed on host/client?

Reason/Example:
I created a Remote Execution Template which will automatically perform mass patching of linux server, but before this will be executed I wanted to run automatically a powercli script on the katello server which will execute a snapshot on the vCenter as well for those hosts. I need this somehow automated in the Template without configuring a Compute Resource and User Interaction via OS Level…

Any Feedback/Suggestion is more than welcome :wink:

Thanks,
Christian