-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
yangang
committed
Aug 18, 2017
1 parent
d3e103d
commit 8af2ff9
Showing
1 changed file
with
122 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
name: rd-win-smb-plugin | ||
version: 1.0.0 | ||
rundeckPluginVersion: 1.1 | ||
author: Solaris | ||
date: 27.07.2017 | ||
providers: | ||
- name: WinSMBexe | ||
title: WinSMB Executor | ||
description: Executing Scripts or commands on remote windows computer | ||
service: NodeExecutor | ||
plugin-type: script | ||
script-interpreter: python | ||
script-file: winsmbexe.py | ||
interpreter-args-quoted: true | ||
config: | ||
- name: user | ||
title: Username | ||
description: "Username in DOMAIN\\name form" | ||
type: String | ||
required: false | ||
scope: Instance | ||
renderingOptions: | ||
instance-scope-node-attribute: "username" | ||
- name: pass | ||
title: Password | ||
description: "Password" | ||
type: String | ||
required: false | ||
scope: Instance | ||
renderingOptions: | ||
instance-scope-node-attribute: "win-password-storage-path" | ||
valueConversion: STORAGE_PATH_AUTOMATIC_READ | ||
displayType: PASSWORD | ||
- name: authtype | ||
title: Auth type | ||
description: "Authentication type" | ||
type: Select | ||
values: "negotiate, ssl, kerberos, plaintext" | ||
default: "plaintext" | ||
required: true | ||
scope: Instance | ||
renderingOptions: | ||
instance-scope-node-attribute: "authtype" | ||
- name: allowoverride | ||
title: Allow Override | ||
description: "Gives possibility to override hostname, username (and password) in job options" | ||
type: Select | ||
values: "none, host, user, all" | ||
default: "none" | ||
required: true | ||
scope: Instance | ||
renderingOptions: | ||
instance-scope-node-attribute: "allowoverride" | ||
- name: shell | ||
title: Shell | ||
description: "Windows interpreter" | ||
type: Select | ||
values: "cmd, powershell, wql" | ||
default: 'powershell' | ||
required: true | ||
scope: Instance | ||
renderingOptions: | ||
instance-scope-node-attribute: "shell" | ||
- name: WinSMBcp | ||
title: WinSMB File Copier | ||
service: FileCopier | ||
plugin-type: script | ||
script-interpreter: python | ||
script-file: winsmbcp.py | ||
# script-args: ${node.hostname} ${file-copy.file} ${file-copy.destination} | ||
script-args: ${file-copy.file} ${file-copy.destination} | ||
# interpreter-args-quoted: true | ||
interpreter-args-quoted: false | ||
config: | ||
- name: user | ||
title: Username | ||
type: String | ||
required: false | ||
description: "Username in DOMAIN\\name form" | ||
scope: Instance | ||
renderingOptions: | ||
instance-scope-node-attribute: "username" | ||
- name: pass | ||
title: Password | ||
type: String | ||
required: false | ||
description: "Password" | ||
scope: Instance | ||
renderingOptions: | ||
instance-scope-node-attribute: "win-password-storage-path" | ||
valueConversion: STORAGE_PATH_AUTOMATIC_READ | ||
displayType: PASSWORD | ||
- name: authtype | ||
title: Auth type | ||
description: "Authentication type" | ||
type: Select | ||
values: "negotiate, ssl, kerberos, plaintext" | ||
default: "plaintext" | ||
required: true | ||
scope: Instance | ||
renderingOptions: | ||
instance-scope-node-attribute: "authtype" | ||
- name: allowoverride | ||
title: Allow Override | ||
description: "Gives possibility to override hostname, username (and password) in job options" | ||
type: Select | ||
values: "none, host, user, all" | ||
default: "none" | ||
required: true | ||
scope: Instance | ||
renderingOptions: | ||
instance-scope-node-attribute: "allowoverride" | ||
- name: shell | ||
title: Shell | ||
description: "Windows interpreter. Should be same as in Executor" | ||
type: Select | ||
values: "cmd, powershell, wql" | ||
default: 'powershell' | ||
required: true | ||
scope: Instance | ||
renderingOptions: | ||
instance-scope-node-attribute: "shell" |