@@ -18,22 +18,22 @@ controller_credential_types:
18
18
kind : cloud
19
19
inputs :
20
20
fields :
21
- - id : auth_host
21
+ - id : host
22
22
type : string
23
- label : auth_host
23
+ label : OpenShift or Kubernetes API Endpoint
24
24
secret : false
25
- - id : auth_api_key
25
+ - id : bearer_token
26
26
type : string
27
- label : auth_api_key
27
+ label : API authentication bearer token
28
28
secret : true
29
- - id : auth_verify_ssl
29
+ - id : verify_ssl
30
30
type : boolean
31
- label : auth_verify_ssl
31
+ label : Verify SSL
32
32
injectors :
33
33
env :
34
- K8S_AUTH_HOST : " {% raw %}{ { auth_host }}{% endraw %}"
35
- K8S_AUTH_API_KEY : " {% raw %}{ { auth_api_key }}{% endraw %}"
36
- K8S_AUTH_VERIFY_SSL : " {% raw %}{ { auth_verify_ssl }}{% endraw %}"
34
+ K8S_AUTH_HOST : " {% raw %}{ { host }}{% endraw %}"
35
+ K8S_AUTH_API_KEY : " {% raw %}{ { bearer_token }}{% endraw %}"
36
+ K8S_AUTH_VERIFY_SSL : " {% raw %}{ { verify_ssl }}{% endraw %}"
37
37
38
38
controller_credentials :
39
39
- name : OpenShift Credential
@@ -50,17 +50,9 @@ controller_credentials:
50
50
credential_type : OCPV inventory credential
51
51
state : exists
52
52
inputs :
53
- auth_host : CHANGEME
54
- auth_api_key : CHANGEME
55
- auth_verify_ssl : false
56
-
57
- - name : OpenShift CNV Machine Credential
58
- organization : Default
59
- credential_type : Machine
60
- state : exists
61
- inputs :
62
- username : CHANGEME
63
- password : CHANGEME
53
+ host : CHANGEME
54
+ bearer_token : CHANGEME
55
+ verify_ssl : false
64
56
65
57
controller_inventory_sources :
66
58
- name : OpenShift CNV Inventory
@@ -95,6 +87,7 @@ controller_templates:
95
87
notification_templates_success : Telemetry
96
88
notification_templates_error : Telemetry
97
89
survey_enabled : true
90
+ allow_simultaneous : true
98
91
survey :
99
92
name : ' '
100
93
description : ' '
@@ -168,7 +161,7 @@ controller_templates:
168
161
ask_job_type_on_launch : true
169
162
credentials :
170
163
- " OpenShift Credential"
171
- - " OpenShift CNV Machine Credential"
164
+ - " Demo Credential"
172
165
survey_enabled : true
173
166
survey :
174
167
name : ' '
@@ -180,6 +173,24 @@ controller_templates:
180
173
default : " openshift-cnv-rhel*"
181
174
required : true
182
175
176
+ - name : OpenShift / CNV / Wait Hosts
177
+ inventory : " Demo Inventory"
178
+ project : " Ansible official demo project"
179
+ playbook : " openshift/cnv/wait.yml"
180
+ notification_templates_started : Telemetry
181
+ notification_templates_success : Telemetry
182
+ notification_templates_error : Telemetry
183
+ survey_enabled : true
184
+ survey :
185
+ name : ' '
186
+ description : ' '
187
+ spec :
188
+ - question_name : Wait hosts
189
+ type : text
190
+ variable : _hosts
191
+ default : " openshift-cnv-rhel*"
192
+ required : true
193
+
183
194
- name : OpenShift / Dev Spaces
184
195
job_type : run
185
196
inventory : " Demo Inventory"
@@ -247,6 +258,12 @@ controller_workflows:
247
258
- Ticket - Instance Failed
248
259
- identifier : Update Inventory
249
260
unified_job_template : OpenShift CNV Inventory
261
+ failure_nodes :
262
+ - wait_hosts
263
+ - identifier : wait_hosts
264
+ unified_job_template : OpenShift / CNV / Wait Hosts
265
+ failure_nodes :
266
+ - Update Inventory
250
267
- identifier : Ticket - Instance Failed
251
268
unified_job_template : ' SUBMIT FEEDBACK'
252
269
extra_data :
0 commit comments