rundeck-plugins / rundeck-winrm-plugin

Rundeck WinRM Node Executor plugin
Other
56 stars 28 forks source link

failed: IOFailure: [WinRMPython]"python": error=2 #68

Open ionycool opened 4 years ago

ionycool commented 4 years ago

hello there ! ... before anything ..i want to apology for my English .. I'm running docker official image of rundeck and I want to use WinRM to run a script on windows, after configuring everything I get this error :

[Workflow result: , step failures: {1=Dispatch failed on 1 nodes: [NODE1: IOFailure: [WinRMPython] Cannot run program "python": error=2, No such file or directory

can anyone help me ?? Thanks a lot!

ltamaster commented 4 years ago

Hi, probably you are trying to use this plugin https://github.com/rundeck-plugins/py-winrm-plugin which is a python based plugin.

if you want to use it with docker, you will need to create your own image based on rundeck image. Here is a couple of examples (first on with pywinrm-plugin):