You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My problem is , I am trying to create a powershell script and I have two windows server ( one is the hosting server where rundeck is installed ) and the other is the Database server ( which is also a windows server ) . Now I want to execute a script as an inline script which can be passed in my workflow and I want my script to be placed in my local server ( hosting server ) and when it is run locally or as an inline script from my rundeck server , it should give me the output of starting of all closed services on my DB server .
I tried establishing winrm connection between these two of my windows server . For this , I created a resources.yml file where I have passed my target node ( DB server ) ip , username , description , winrm key storage path , winrm default node executor , winrm default file copier .. but I am not sure whether the details that I am passing is correct for winrm default node executor and default file copier .. After that , I have configured my resources.yml file in my nodes section and it is also targeting the nodes but when I am running the script as an inline script , either it gives me the plugin failure issues or either it gives me the service failure as null …I do not understand whether
my plugins that I am passing is correct or not .. In my configuration path , it shows WINRM Python , so I have used that . But I am not sure , because it shows plugin failed .
It’s not able to detect the service .. initially it was not able to detect my powershell script but then I passed shell:powershell in my resources.yml but still I am stuck with this issue ..
Can anyone help me out on this and write the modified resources.yml file and what all modifications are required in the script or something ? My script is giving me the desired output when run manually ….. but failing when executed through rundeck server.
Provide me all the required steps that needs to be done ..
The text was updated successfully, but these errors were encountered:
My problem is , I am trying to create a powershell script and I have two windows server ( one is the hosting server where rundeck is installed ) and the other is the Database server ( which is also a windows server ) . Now I want to execute a script as an inline script which can be passed in my workflow and I want my script to be placed in my local server ( hosting server ) and when it is run locally or as an inline script from my rundeck server , it should give me the output of starting of all closed services on my DB server .
I tried establishing winrm connection between these two of my windows server . For this , I created a resources.yml file where I have passed my target node ( DB server ) ip , username , description , winrm key storage path , winrm default node executor , winrm default file copier .. but I am not sure whether the details that I am passing is correct for winrm default node executor and default file copier .. After that , I have configured my resources.yml file in my nodes section and it is also targeting the nodes but when I am running the script as an inline script , either it gives me the plugin failure issues or either it gives me the service failure as null …I do not understand whether
my plugins that I am passing is correct or not .. In my configuration path , it shows WINRM Python , so I have used that . But I am not sure , because it shows plugin failed .
It’s not able to detect the service .. initially it was not able to detect my powershell script but then I passed shell:powershell in my resources.yml but still I am stuck with this issue ..
Can anyone help me out on this and write the modified resources.yml file and what all modifications are required in the script or something ? My script is giving me the desired output when run manually ….. but failing when executed through rundeck server.
Provide me all the required steps that needs to be done ..
The text was updated successfully, but these errors were encountered: