We have a variety of operations tasks that we want to operate “on” a given deployment. For example, we have a project which is a symfony PHP project and there are operations tasks which need to execute using the php symfony command line tooling. Another project is essentially just a large collection of powershell modules and we would like to execute a runbook importing and calling functions from those modules.
The runbook needs to execute in the installation directory of the current release of the associated deployment. Is there any way to link this up and pull the directory in?