-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
377 lines (368 loc) · 11.7 KB
/
index.html
File metadata and controls
377 lines (368 loc) · 11.7 KB
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<!DOCTYPE html>
<html>
<head>
<title>Cloud Automation Report</title>
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans" />
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<link rel="stylesheet" href="css/main.css">
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<script>
$(function() {
$( "#accordion > div" ).accordion({
header: "h3",
// active: false,
active: 0, // Set this to the index of the panel you want expanded by default (0 for the first panel)
collapsible: true
});
});
</script>
</head>
<body>
<div class="wrapper">
<header>
<div class="header-container">
<a href="https://ansible.com">
<img
class="header-logo"
src="redhat-ansible-logo.svg"
title="Red Hat Ansible"
alt="Red Hat Ansible"
/>
</a>
</div>
</header><section>
<center>
<h1>Ansible & VMware Automation Example Report</h1>
</center>
<table class="main_net_table">
<thead>
<tr>
<th>Private Cloud</th>
<th class="region_column">Virtual Machines</th>
</tr>
</thead>
<tbody>
<tr>
<td class="summary_info">
<div id="hostname">
<img class="router_image" src="vmware.png" alt="picture of cloud">
<br><p class="hostname">Overview</p>
</div>
<div id="net_info_div">
<table class="net_info">
<tbody>
<tr>
<td>Number of clusters</td>
<td class="sub_net_info">1</td>
</tr>
<tr>
<td>Total Guests</td>
<td class="sub_net_info">11</td>
</tr>
<tr>
<td>Total SPBM profiles</td>
<td class="sub_net_info">11</td>
</tr>
<tr>
<td>vSphere Appliance Version</td>
<td class="sub_net_info">7.0.3.02000</td>
</tr>
<tr>
<td>vSphere Product</td>
<td class="sub_net_info">VMware vCenter Server</td>
</tr>
<tr>
<td>vSphere Uptime</td>
<td class="sub_net_info">
0 years, 13 days, 12 hours, 14 minutes, 31 seconds
</td>
</tr>
<tr>
<td>Playbook Run Time</td>
<td class="sub_net_info">2024-08-16T14:12:58Z</td>
</tr>
</tbody>
</table>
<!-- INTERNAL TABLE FOR Ansible -->
<div id="accordion">
<div>
<h3>Ansible Automation Info</h3>
<div class="net_content">
<table class="net_info">
<tbody>
<tr>
<td>Ansible user</td>
<td class="sub_net_info">root</td>
</tr>
<tr>
<td>Ansible FQDN</td>
<td class="sub_net_info">18926cab0a19</td>
</tr>
<tr>
<td>Ansible core version</td>
<td class="sub_net_info">2.15.12</td>
</tr>
<tr>
<td>Ansible Python</td>
<td class="sub_net_info">3.9.18</td>
</tr>
<tr>
<td>Host OS</td>
<td class="sub_net_info">RedHat 9.4</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- END INTERNAL TABLE FOR Ansible --> </div>
</td>
<td>
<!-- INTERNAL TABLE FOR Ansible -->
<div id="accordion">
<div>
<h3><div id="host_title">pool1-controller1.practice.redhat.com</div>
<div class="instances_highlight">
<div class="instances_running">
<i class="fas fa-power-off"></i>3 instances running
</div>
<div class="instances_stopped"><i class="fas fa-circle-stop"></i>4 powered off (7 total)</div>
</div></h3>
<div class="net_content">
<p class="description">There are <strong>7</strong> guest VMs on host pool1-controller1.practice.redhat.com</p>
<table class="net_info">
<tbody>
<tr>
<th class="vpc_info">Guest name</th>
<th class="vpc_info">Power status</th>
<th class="vpc_info">Instance UUID</th>
<th class="vpc_info">IP address</th>
<th class="vpc_info">Guest ID</th>
<th class="vpc_info" id="cidr_assoc">Processor count</th>
<th class="vpc_info">Guest tools status</th>
<th class="vpc_info">Tags</th>
</tr>
<tr>
<td>rhel9-zach</td>
<td style="text-align: center;">
<div class="poweroff"><i class="fas fa-circle-stop"></i>Off</div>
</td>
<td>5025e89e-0c96-fcc4-110c-401a8b281f4a</td>
<td style="text-align: center;">None</td>
<td></td>
<td style="text-align:center;">2</td>
<td style="text-align: center;">
<div class="notrunning"><i class="fas fa-circle-exclamation"></i>Not Running</div>
</td>
<td>
No tags
</td>
</tr>
<tr>
<td>rhel8</td>
<td style="text-align: center;">
<div class="poweron"><i class="fas fa-power-off"></i>On</div>
</td>
<td>5025bd60-a187-0c5e-a4b2-0eb89835496e</td>
<td style="text-align: center;">None</td>
<td>rhel8_64Guest</td>
<td style="text-align:center;">2</td>
<td style="text-align: center;">
<div class="running"><i class="fas fa-circle-play"></i>Running</div>
</td>
<td>
No tags
</td>
</tr>
<tr>
<td>vCLS-a7f45f5c-5d69-43d2-8942-4fc5b9b587ed</td>
<td style="text-align: center;">
<div class="poweron"><i class="fas fa-power-off"></i>On</div>
</td>
<td>5025b999-9d4b-efdf-8ae1-2d64a17606d5</td>
<td style="text-align: center;">None</td>
<td>vmwarePhoton64Guest</td>
<td style="text-align:center;">1</td>
<td style="text-align: center;">
<div class="running"><i class="fas fa-circle-play"></i>Running</div>
</td>
<td>
No tags
</td>
</tr>
<tr>
<td>vCenter_Server</td>
<td style="text-align: center;">
<div class="poweron"><i class="fas fa-power-off"></i>On</div>
</td>
<td>52c015d3-53c2-4350-b050-19ab1fea0302</td>
<td style="text-align: center;">10.1.196.19</td>
<td>vmwarePhoton64Guest</td>
<td style="text-align:center;">4</td>
<td style="text-align: center;">
<div class="running"><i class="fas fa-circle-play"></i>Running</div>
</td>
<td>
No tags
</td>
</tr>
<tr>
<td>test</td>
<td style="text-align: center;">
<div class="poweroff"><i class="fas fa-circle-stop"></i>Off</div>
</td>
<td>50256898-4200-6031-df69-cc5100533a92</td>
<td style="text-align: center;">None</td>
<td>rhel9_64Guest</td>
<td style="text-align:center;">2</td>
<td style="text-align: center;">
<div class="notrunning"><i class="fas fa-circle-exclamation"></i>Not Running</div>
</td>
<td>
No tags
</td>
</tr>
<tr>
<td>matferna-rhel8</td>
<td style="text-align: center;">
<div class="poweroff"><i class="fas fa-circle-stop"></i>Off</div>
</td>
<td>50257172-e1c5-5d57-748e-fe62bdb4bd8f</td>
<td style="text-align: center;">None</td>
<td></td>
<td style="text-align:center;">2</td>
<td style="text-align: center;">
<div class="notrunning"><i class="fas fa-circle-exclamation"></i>Not Running</div>
</td>
<td>
No tags
</td>
</tr>
<tr>
<td>rhel9-tpl</td>
<td style="text-align: center;">
<div class="poweroff"><i class="fas fa-circle-stop"></i>Off</div>
</td>
<td>502580a2-4438-adfc-275b-9ee9da4d526d</td>
<td style="text-align: center;">None</td>
<td></td>
<td style="text-align:center;">2</td>
<td style="text-align: center;">
<div class="notrunning"><i class="fas fa-circle-exclamation"></i>Not Running</div>
</td>
<td>
No tags
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<h3><div id="host_title">pool1-controller3.practice.redhat.com</div>
<div class="instances_highlight">
<div class="instances_running">
<i class="fas fa-power-off"></i>3 instances running
</div>
<div class="instances_stopped"><i class="fas fa-circle-stop"></i>1 powered off (4 total)</div>
</div></h3>
<div class="net_content">
<p class="description">There are <strong>4</strong> guest VMs on host pool1-controller3.practice.redhat.com</p>
<table class="net_info">
<tbody>
<tr>
<th class="vpc_info">Guest name</th>
<th class="vpc_info">Power status</th>
<th class="vpc_info">Instance UUID</th>
<th class="vpc_info">IP address</th>
<th class="vpc_info">Guest ID</th>
<th class="vpc_info" id="cidr_assoc">Processor count</th>
<th class="vpc_info">Guest tools status</th>
<th class="vpc_info">Tags</th>
</tr>
<tr>
<td>rhel9-template</td>
<td style="text-align: center;">
<div class="poweroff"><i class="fas fa-circle-stop"></i>Off</div>
</td>
<td>502568e9-8b78-6f94-0e71-7efced80b4b6</td>
<td style="text-align: center;">None</td>
<td></td>
<td style="text-align:center;">2</td>
<td style="text-align: center;">
<div class="notrunning"><i class="fas fa-circle-exclamation"></i>Not Running</div>
</td>
<td>
No tags
</td>
</tr>
<tr>
<td>rhel9-rlopez</td>
<td style="text-align: center;">
<div class="poweron"><i class="fas fa-power-off"></i>On</div>
</td>
<td>50255920-c8dd-7550-ab92-4adc67ddd63a</td>
<td style="text-align: center;">10.1.196.153</td>
<td>rhel9_64Guest</td>
<td style="text-align:center;">4</td>
<td style="text-align: center;">
<div class="running"><i class="fas fa-circle-play"></i>Running</div>
</td>
<td>
No tags
</td>
</tr>
<tr>
<td>vCLS-7da07b36-8030-40b3-aeb4-ab55ed9c44d3</td>
<td style="text-align: center;">
<div class="poweron"><i class="fas fa-power-off"></i>On</div>
</td>
<td>5025f613-c72f-6d3f-1c8b-531fe12589b9</td>
<td style="text-align: center;">None</td>
<td>vmwarePhoton64Guest</td>
<td style="text-align:center;">1</td>
<td style="text-align: center;">
<div class="running"><i class="fas fa-circle-play"></i>Running</div>
</td>
<td>
No tags
</td>
</tr>
<tr>
<td>rhel9-sean</td>
<td style="text-align: center;">
<div class="poweron"><i class="fas fa-power-off"></i>On</div>
</td>
<td>5025bdba-3ee0-a00e-5aee-b915df2e5f03</td>
<td style="text-align: center;">10.1.196.103</td>
<td>rhel9_64Guest</td>
<td style="text-align:center;">6</td>
<td style="text-align: center;">
<div class="running"><i class="fas fa-circle-play"></i>Running</div>
</td>
<td>
No tags
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- END INTERNAL TABLE FOR Ansible --> </td>
</tr>
</tbody>
</table>
<center><p>Created with</p><br><img src="webpage_logo.png" width="300" alt="red hat ansible automation platform logo">
<p>The source code to create this report can be found at <a href="https://github.com/ansible-cloud/vmware-demos">https://github.com/ansible-cloud/vmware-demos</a><br><br>
If you are new to Ansible Automation check out the following links:<br>
<a target="_new" href="https://www.redhat.com/en/interactive-labs/ansible">Interactive labs for Red Hat Ansible Automation Platform</a><br>
<a target="_new" href="https://www.youtube.com/ansibleautomation?sub_confirmation=1">Youtube Videos</a><br>
</p>
</center>
</section>
</div>
</body>
</html>