Git Product home page Git Product logo

ps-rundeck-winrm-plugin's Introduction

PS WinRM Plugin for Rundeck

Powershell file-copier plugin for Rundeck

Build and install

Just create a zip archive of ps-rundeck-winrm-plugin folder and place in %RUNDECK_ROOT%/libext.

Use

  1. Set service.FileCopier.default.provider=ps-winrm-fc in your %RUNDECK_ROOT%/projects/%PROJECT_NAME%/etc/project.properties
  2. Configure your project -> Simple Configuration -> set password storage key

Requirements

  • WinRM should be configured correctly both on local and remote node (see https://github.com/xebialabs/overthere/#winrm-winrm_internal-and-winrm_native)
  • Rundeck should run on Windows host with Powershell 3+
  • Powershell execution policy both on server and remote node should be Unrestricted, or you can sign scripts, if needed higher secure level, or run powershell.exe with -ExecutionPolicy Bypass
  • Remote user (on remote node) should be in 'Remote Management Users' group

Limitations

  • Plugin replaces bat with ps1 extension to support powershell scripts
  • SSL is used by default, remote node certificate should be installed on local machine
  • Authentication type is default

Tips

  • If you're running rundeck on windows host, you can use winrs as node executor. Select script-exec in project configuration and set command to winrs /r:https://${node.hostname} /u:${node.username} /p:${node.password} ${exec.command}. All preferences you can set via winrm set winrm/config/*
  • To use inline powershell scripts, check advanced options, set command: Powershell -NoProfile -File

Pull requests are welcome!

ps-rundeck-winrm-plugin's People

Contributors

m-kus avatar

Watchers

James Cloos avatar Rory Bramwell avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.