-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
Copy pathAnsibleTower-_Test_playbook.yml
141 lines (141 loc) · 2.82 KB
/
AnsibleTower-_Test_playbook.yml
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
id: AnsibleTower_Test_playbook
version: -1
vcShouldKeepItemLegacyProdMachine: false
name: AnsibleTower_Test_playbook
starttaskid: "0"
tasks:
"0":
id: "0"
taskid: d473b290-fd7e-4b57-8f88-ec52eb1756c8
type: start
task:
id: d473b290-fd7e-4b57-8f88-ec52eb1756c8
version: -1
name: ""
iscommand: false
brand: ""
nexttasks:
'#none#':
- "1"
separatecontext: false
view: |-
{
"position": {
"x": 450,
"y": 50
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
"1":
id: "1"
taskid: 858c776e-b669-4e04-83be-ed140852829a
type: playbook
task:
id: 858c776e-b669-4e04-83be-ed140852829a
version: -1
name: Ansible Tower launch job
playbookName: Launch Job - Ansible Tower
playbookID: Launch Job - Ansible Tower
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "2"
scriptarguments:
Interval:
simple: "1"
Inventory_id:
complex:
root: inputs.inventory_id
Timeout:
simple: "15"
credentials_id:
complex:
root: inputs.credentials_id
extra_variables: {}
job_template_id:
complex:
root: inputs.job_template_id
separatecontext: true
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 100
view: |-
{
"position": {
"x": 450,
"y": 310
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
"2":
id: "2"
taskid: 577e11b5-5eff-4db5-8226-4ef94d61e9b4
type: title
task:
id: 577e11b5-5eff-4db5-8226-4ef94d61e9b4
version: -1
name: Done
type: title
iscommand: false
brand: ""
separatecontext: false
view: |-
{
"position": {
"x": 450,
"y": 540
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
view: |-
{
"linkLabelsPosition": {},
"paper": {
"dimensions": {
"height": 555,
"width": 380,
"x": 450,
"y": 50
}
}
}
inputs:
- key: job_template_id
value:
simple: "5"
required: false
description: Job template to launch
playbookInputQuery: null
- key: credentials_id
value:
simple: "1"
required: false
description: 'Credentials that allows Tower to access the nodes this job will be
run against '
playbookInputQuery: null
- key: inventory_id
value:
simple: "1"
required: false
description: Inventory containing the hosts you want this job to manage
playbookInputQuery: null
outputs: []
fromversion: 5.0.0
marketplaces:
- xsoar