-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.yaml
74 lines (74 loc) · 2.87 KB
/
plugin.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: Get remote file
rundeckPluginVersion: 1.2
author: Chris Gadd
date: 2021-02-25
version: 0.6
url: https://github.com/gaddman/rundeck-getfile
providers:
- name: remote-file-get
service: WorkflowNodeStep
title: Get remote file
description: Retrieve files from a remote node.
plugin-type: script
script-file: getfile.sh
config:
- name: source
title: 'Source'
type: String
required: true
description: 'Full path on the remote node. May be a file or directory. Multiple paths can be provided as a space-delimited list.'
scope: Instance
- name: destination
title: 'Destination'
type: String
required: true
default: /var/lib/rundeck/projects/${job.project}/data/
description: 'Full path on the local Rundeck server. If the path ends with a /, the same filename as the source will be used. Must be somewhere the rundeck user has access.'
scope: Instance
- name: ssh_key_storage_path
title: SSH Key Storage Path
type: String
required: false
description: "Optional storage path for SSH key saved on the key storage."
scope: Instance
renderingOptions:
selectionAccessor: "STORAGE_PATH"
valueConversion: "STORAGE_PATH_AUTOMATIC_READ"
storage-path-root: "keys"
storage-file-meta-filter: "Rundeck-key-type=private"
- name: ssh_key_passphrase_storage_path
title: SSH Key Passphrase Storage Path
type: String
required: false
description: "Optional storage path for ssh-key passphrase."
scope: Instance
renderingOptions:
selectionAccessor: "STORAGE_PATH"
valueConversion: "STORAGE_PATH_AUTOMATIC_READ"
storage-path-root: "keys"
storage-file-meta-filter: "Rundeck-data-type=password"
- name: password_storage_path
title: Password Storage Path
type: String
required: false
description: "Optional storage path for password saved on the key storage. Password may also be provided as an option called 'password'."
scope: Instance
renderingOptions:
selectionAccessor: "STORAGE_PATH"
valueConversion: "STORAGE_PATH_AUTOMATIC_READ"
storage-path-root: "keys"
storage-file-meta-filter: "Rundeck-data-type=password"
- name: protocol
title: 'Protocol'
type: Select
required: true
default: scp
values: scp,sftp
description: 'How to connect to the remote host.'
scope: Instance
- name: options
title: 'Options'
type: String
required: false
description: 'Options to pass to the scp or sftp program.'
scope: Instance