Expand on Python tasks features - Execute targets

I would like to see us expand on the available execute target for Python tasks. Currently you are restricted to local. It would be nice to see Remote and Resource added (Much like Shell script, PowerShell, etc)

  • Standardize option available for the major tasks types
  • Eliminates the resource tax imposed on the Morpheus appliances

And maybe allow the use of built-in Python library venv instead of having to install virtualenv

  • Integrated into the standard library since Python v3.3
  • Wouldn’t need virtualenv installed on the local/remote/resource host before running the task

Implementing these features would enrich the capabilities of the Python task within Morpheus, bringing it in line with other task types.

Sorry if this is a duplicate :stuck_out_tongue_winking_eye: