|
8 | 8 | vars:
|
9 | 9 | content: |-
|
10 | 10 | plugin: community.vmware.vmware_vm_inventory
|
11 |
| - strict: False |
12 |
| - with_nested_properties: False |
| 11 | + strict: false |
| 12 | + with_nested_properties: false |
13 | 13 | properties:
|
14 | 14 | - config.name
|
15 | 15 | - runtime.powerState
|
|
33 | 33 | vars:
|
34 | 34 | content: |-
|
35 | 35 | plugin: community.vmware.vmware_vm_inventory
|
36 |
| - strict: False |
37 |
| - with_nested_properties: False |
| 36 | + strict: false |
| 37 | + with_nested_properties: false |
38 | 38 | properties: ['all']
|
39 | 39 | - name: Test properties(all) option are populate
|
40 | 40 | assert:
|
|
48 | 48 | vars:
|
49 | 49 | content: |-
|
50 | 50 | plugin: community.vmware.vmware_vm_inventory
|
51 |
| - strict: False |
52 |
| - with_nested_properties: False |
| 51 | + strict: false |
| 52 | + with_nested_properties: false |
53 | 53 | properties:
|
54 | 54 | - config
|
55 | 55 | - name: Test properties(config) option are populate
|
|
64 | 64 | vars:
|
65 | 65 | content: |-
|
66 | 66 | plugin: community.vmware.vmware_vm_inventory
|
67 |
| - strict: False |
68 |
| - with_path: True |
| 67 | + strict: false |
| 68 | + with_path: true |
69 | 69 | - name: Test path option
|
70 | 70 | assert:
|
71 | 71 | that:
|
|
76 | 76 | vars:
|
77 | 77 | content: |-
|
78 | 78 | plugin: community.vmware.vmware_vm_inventory
|
79 |
| - strict: False |
| 79 | + strict: false |
80 | 80 | with_path: my_center
|
81 | 81 | - name: Test path option with rooted path
|
82 | 82 | assert:
|
|
89 | 89 | vars:
|
90 | 90 | content: |-
|
91 | 91 | plugin: community.vmware.vmware_vm_inventory
|
92 |
| - strict: False |
| 92 | + strict: false |
93 | 93 | properties:
|
94 | 94 | - config.name
|
95 | 95 | - config.uuid
|
96 |
| - with_nested_properties: True |
| 96 | + with_nested_properties: true |
97 | 97 | - name: Test 'with_nested_properties' option
|
98 | 98 | assert:
|
99 | 99 | that:
|
|
105 | 105 | vars:
|
106 | 106 | content: |-
|
107 | 107 | plugin: community.vmware.vmware_vm_inventory
|
108 |
| - strict: False |
| 108 | + strict: false |
109 | 109 | properties:
|
110 | 110 | - config.name
|
111 | 111 | - config.uuid
|
112 | 112 | - runtime.powerState
|
113 | 113 |
|
114 |
| - with_nested_properties: False |
115 |
| - with_sanitized_property_name: True |
| 114 | + with_nested_properties: false |
| 115 | + with_sanitized_property_name: true |
116 | 116 | - name: Test 'with_nested_properties' option
|
117 | 117 | assert:
|
118 | 118 | that:
|
|
124 | 124 | vars:
|
125 | 125 | content: |-
|
126 | 126 | plugin: community.vmware.vmware_vm_inventory
|
127 |
| - strict: False |
128 |
| - with_nested_properties: True |
| 127 | + strict: false |
| 128 | + with_nested_properties: true |
129 | 129 | properties:
|
130 | 130 | - config.name
|
131 | 131 | - config.uuid
|
|
147 | 147 | vars:
|
148 | 148 | content: |-
|
149 | 149 | plugin: community.vmware.vmware_vm_inventory
|
150 |
| - strict: False |
151 |
| - with_nested_properties: True |
| 150 | + strict: false |
| 151 | + with_nested_properties: true |
152 | 152 | properties:
|
153 | 153 | - config.name
|
154 | 154 | - runtime.powerState
|
|
167 | 167 | vars:
|
168 | 168 | content: |-
|
169 | 169 | plugin: community.vmware.vmware_vm_inventory
|
170 |
| - strict: False |
171 |
| - with_nested_properties: True |
| 170 | + strict: false |
| 171 | + with_nested_properties: true |
172 | 172 | properties:
|
173 | 173 | - config.uuid
|
174 | 174 | - config.guestId
|
|
200 | 200 | vars:
|
201 | 201 | content: |-
|
202 | 202 | plugin: community.vmware.vmware_vm_inventory
|
203 |
| - strict: False |
204 |
| - with_nested_properties: True |
205 |
| - with_tags: True |
| 203 | + strict: false |
| 204 | + with_nested_properties: true |
| 205 | + with_tags: true |
206 | 206 | properties:
|
207 | 207 | - config.name
|
208 | 208 | - config.uuid
|
|
222 | 222 | vars:
|
223 | 223 | content: |-
|
224 | 224 | plugin: community.vmware.vmware_vm_inventory
|
225 |
| - strict: False |
226 |
| - with_nested_properties: True |
| 225 | + strict: false |
| 226 | + with_nested_properties: true |
227 | 227 | properties:
|
228 | 228 | - config.vmxConfigChecksum
|
229 | 229 | - config.name
|
|
243 | 243 | vars:
|
244 | 244 | content: |-
|
245 | 245 | plugin: community.vmware.vmware_vm_inventory
|
246 |
| - strict: False |
247 |
| - with_nested_properties: False |
| 246 | + strict: false |
| 247 | + with_nested_properties: false |
248 | 248 | hostnames:
|
249 | 249 | - config.name
|
250 | 250 | properties:
|
|
265 | 265 | vars:
|
266 | 266 | content: |-
|
267 | 267 | plugin: community.vmware.vmware_vm_inventory
|
268 |
| - strict: False |
269 |
| - with_nested_properties: False |
| 268 | + strict: false |
| 269 | + with_nested_properties: false |
270 | 270 | hostnames:
|
271 | 271 | - config.name
|
272 | 272 | properties:
|
|
288 | 288 | vars:
|
289 | 289 | content: |-
|
290 | 290 | plugin: community.vmware.vmware_vm_inventory
|
291 |
| - strict: False |
292 |
| - with_nested_properties: False |
| 291 | + strict: false |
| 292 | + with_nested_properties: false |
293 | 293 | hostnames:
|
294 | 294 | - config.name
|
295 | 295 | properties:
|
|
315 | 315 | vars:
|
316 | 316 | content: |-
|
317 | 317 | plugin: community.vmware.vmware_vm_inventory
|
318 |
| - strict: False |
319 |
| - with_nested_properties: False |
| 318 | + strict: false |
| 319 | + with_nested_properties: false |
320 | 320 | hostnames:
|
321 | 321 | - config.name
|
322 | 322 | properties:
|
|
0 commit comments