-
Notifications
You must be signed in to change notification settings - Fork 12
/
aap_wf.yml
197 lines (181 loc) · 5.36 KB
/
aap_wf.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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
---
controller_workflows:
- name: Add RHEL8
description: Creates and preps rhel8 vm
inventory:
name: Temporary Inventory
organization:
name: Default
type: organization
type: inventory
limit: new_vms
organization:
name: Red Hat
type: organization
ask_variables_on_launch: true
extra_vars:
use_aap_inventory: true
related:
survey_spec:
description: ''
name: ''
spec:
- choices: ''
default: ''
formattedChoices:
- choice: ''
id: 0
isDefault: false
max: 1024
min: 1
new_question: false
question_description: >
short name for the hostname. Use format rh-<whatever>-<number>,
e.g. rh-ikketest-10
question_name: Host Name
required: true
type: text
variable: short_name
- choices: 'RH-seg-2990
RH-seg-2991
RH-seg-2992
RH-seg-2993'
default: RH-seg-2991
max: 1024
min: 0
new_question: true
question_description: Into which wlan the VM goes.
question_name: VLAN name
required: true
type: multiplechoice
variable: net_name
- choices: '512
1024
2048
4096
8192
16384
32768
65536'
default: '4096'
max: 65536
min: 512
new_question: true
question_description: How much RAM in megabytes
question_name: Memory MB
required: true
type: multiplechoice
variable: memory_mb
- choices: '1
2
4
8
16'
default: '2'
max: 16
min: 1
new_question: true
question_description: How many CPU
question_name: CPU
required: true
type: multiplechoice
variable: num_cpu
- choices: 'poweredon
poweredoff
absent'
default: poweredon
max: 1024
min: 0
new_question: true
question_description: poweredon/off/absent
question_name: VM state
required: true
type: multiplechoice
variable: state
workflow_nodes:
- identifier: add-vm-node
all_parents_must_converge: false
related:
success_nodes:
- identifier: prep-rhel-node
type: workflow_job_template_node
workflow_job_template:
name: Add RHEL8
organization:
name: Red Hat
type: organization
type: workflow_job_template
unified_job_template:
name: ensure-vm-state
organization:
name: rhops
type: organization
type: job_template
workflow_job_template:
name: Add RHEL8
organization:
name: Red Hat
type: organization
type: workflow_job_template
- identifier: add-vm-to-idm-node
limit: new_vms
related:
success_nodes:
- identifier: remove-from-inventory-node
type: workflow_job_template_node
workflow_job_template:
name: Add RHEL8
organization:
name: Red Hat
type: organization
type: workflow_job_template
unified_job_template:
name: Add new hosts to IdM
organization:
name: rhops
type: organization
type: job_template
workflow_job_template:
name: Add RHEL8
organization:
name: Red Hat
type: organization
type: workflow_job_template
- identifier: prep-rhel-node
related:
success_nodes:
- identifier: add-vm-to-idm-node
type: workflow_job_template_node
workflow_job_template:
name: Add RHEL8
organization:
name: Red Hat
type: organization
type: workflow_job_template
unified_job_template:
name: Prepare new RHEL hosts
organization:
name: rhops
type: organization
type: job_template
verbosity: null
workflow_job_template:
name: Add RHEL8
organization:
name: Red Hat
type: organization
type: workflow_job_template
- identifier: remove-from-inventory-node
unified_job_template:
name: Remove host from temp inventory
organization:
name: rhops
type: organization
type: job_template
workflow_job_template:
name: Add RHEL8
organization:
name: Red Hat
type: organization
type: workflow_job_template
survey_enabled: true