forked from puppetlabs/bolt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwinrm-run_task.json
76 lines (75 loc) · 2.27 KB
/
winrm-run_task.json
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
75
76
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "WinRm run_task request",
"description": "POST winrm/run_task request schema",
"type": "object",
"properties": {
"target": {
"type": "object",
"description": "Target information to run task on",
"properties": {
"hostname": {
"type": "string",
"description": "Target identifier"
},
"user": {
"type": "string",
"description": "Login user"
},
"password": {
"type": "string",
"description": "Password for SSH transport authentication"
},
"port": {
"type": "integer",
"description": "Connection port"
},
"connect-timeout": {
"type": "integer",
"description": "How long Bolt should wait when establishing connections"
},
"tmpdir": {
"type": "string",
"description": "The directory to upload and execute temporary files on the target"
},
"ssl": {
"type": "boolean",
"description": "When true, Bolt will use https connections for WinRM"
},
"ssl-verify": {
"type": "boolean",
"description": "When true, verifies the targets certificate matches the cacert"
},
"cacert": {
"type": "string",
"description": "The path to the CA certificate"
},
"extensions": {
"type": "array",
"description": "List of file extensions that are accepted for scripts or tasks"
},
"interpreters": {
"type": "object",
"description": "Map of file extensions to remote executable"
},
"file-protocol": {
"type": "string",
"enum": ["winrm", "smb"],
"description": "Protocol for file transfer, WinRM or SMB"
},
"smb-port": {
"type": "integer",
"description": "Port for SMB protocol"
}
},
"required": ["hostname", "user", "password"],
"additionalProperties": false
},
"task": { "$ref": "file:task"},
"parameters": {
"type": "object",
"description": "JSON formatted parameters to be provided to task"
}
},
"required": ["target", "task"]
}