Skip to content

Commit e72744d

Browse files
author
nina.loser
committed
Change the test
1 parent 6fb4ca8 commit e72744d

File tree

1 file changed

+0
-27
lines changed
  • tests/integration/targets/vmware_guest_snapshot/tasks

1 file changed

+0
-27
lines changed

tests/integration/targets/vmware_guest_snapshot/tasks/main.yml

-27
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
hostname: '{{ vcenter_hostname }}'
1313
username: '{{ vcenter_username }}'
1414
password: '{{ vcenter_password }}'
15-
datacenter: "{{ dc1 }}"
1615
name: "{{ virtual_machines[0].name }}"
17-
folder: "{{ virtual_machines[0].folder }}"
1816
state: absent
1917
snapshot_name: snap_a
2018

@@ -25,9 +23,7 @@
2523
hostname: '{{ vcenter_hostname }}'
2624
username: '{{ vcenter_username }}'
2725
password: '{{ vcenter_password }}'
28-
datacenter: "{{ dc1 }}"
2926
name: "{{ virtual_machines[0].name }}"
30-
folder: "{{ virtual_machines[0].folder }}"
3127
state: present
3228
snapshot_name: "snap_{{item}}"
3329
description: "snap named {{item}}"
@@ -42,9 +38,7 @@
4238
hostname: '{{ vcenter_hostname }}'
4339
username: '{{ vcenter_username }}'
4440
password: '{{ vcenter_password }}'
45-
datacenter: "{{ dc1 }}"
4641
name: "{{ virtual_machines[0].name }}"
47-
folder: "{{ virtual_machines[0].folder }}"
4842
state: present
4943
snapshot_name: snap_a
5044
new_snapshot_name: snap_c
@@ -56,9 +50,7 @@
5650
hostname: '{{ vcenter_hostname }}'
5751
username: '{{ vcenter_username }}'
5852
password: '{{ vcenter_password }}'
59-
datacenter: "{{ dc1 }}"
6053
name: "{{ virtual_machines[0].name }}"
61-
folder: "{{ virtual_machines[0].folder }}"
6254
state: present
6355
snapshot_name: snap_a
6456
description: "snap named a"
@@ -70,9 +62,7 @@
7062
hostname: '{{ vcenter_hostname }}'
7163
username: '{{ vcenter_username }}'
7264
password: '{{ vcenter_password }}'
73-
datacenter: "{{ dc1 }}"
7465
name: "{{ virtual_machines[0].name }}"
75-
folder: "{{ virtual_machines[0].folder }}"
7666
state: present
7767
snapshot_name: snap_c
7868
new_description: "renamed to snap_c from snap_a"
@@ -84,9 +74,7 @@
8474
hostname: '{{ vcenter_hostname }}'
8575
username: '{{ vcenter_username }}'
8676
password: '{{ vcenter_password }}'
87-
datacenter: "{{ dc1 }}"
8877
name: "{{ virtual_machines[0].name }}"
89-
folder: "{{ virtual_machines[0].folder }}"
9078
state: absent
9179
snapshot_name: snap_b
9280
remove_children: true
@@ -98,9 +86,7 @@
9886
hostname: '{{ vcenter_hostname }}'
9987
username: '{{ vcenter_username }}'
10088
password: '{{ vcenter_password }}'
101-
datacenter: "{{ dc1 }}"
10289
name: "{{ virtual_machines[0].name }}"
103-
folder: "{{ virtual_machines[0].folder }}"
10490
state: remove_all
10591

10692
# Test0008: Create snap_a again and revert to it
@@ -110,9 +96,7 @@
11096
hostname: '{{ vcenter_hostname }}'
11197
username: '{{ vcenter_username }}'
11298
password: '{{ vcenter_password }}'
113-
datacenter: "{{ dc1 }}"
11499
name: "{{ virtual_machines[0].name }}"
115-
folder: "{{ virtual_machines[0].folder }}"
116100
state: present
117101
snapshot_name: snap_a
118102
description: "snap named a"
@@ -123,9 +107,7 @@
123107
hostname: '{{ vcenter_hostname }}'
124108
username: '{{ vcenter_username }}'
125109
password: '{{ vcenter_password }}'
126-
datacenter: "{{ dc1 }}"
127110
name: "{{ virtual_machines[0].name }}"
128-
folder: "{{ virtual_machines[0].folder }}"
129111
state: revert
130112
snapshot_name: snap_a
131113

@@ -136,9 +118,7 @@
136118
hostname: '{{ vcenter_hostname }}'
137119
username: '{{ vcenter_username }}'
138120
password: '{{ vcenter_password }}'
139-
datacenter: "{{ dc1 }}"
140121
name: "{{ virtual_machines[0].name }}"
141-
folder: "{{ virtual_machines[0].folder }}"
142122
state: present
143123
snapshot_name: snap_a
144124
description: "snap named a"
@@ -158,7 +138,6 @@
158138
hostname: '{{ vcenter_hostname }}'
159139
username: '{{ vcenter_username }}'
160140
password: '{{ vcenter_password }}'
161-
datacenter: "{{ dc1 }}"
162141
state: present
163142
snapshot_name: snap_a
164143
description: "snap named a"
@@ -178,9 +157,7 @@
178157
hostname: '{{ vcenter_hostname }}'
179158
username: '{{ vcenter_username }}'
180159
password: '{{ vcenter_password }}'
181-
datacenter: "{{ dc1 }}"
182160
name: "{{ virtual_machines[0].name }}"
183-
folder: "{{ virtual_machines[0].folder }}"
184161
state: present
185162
snapshot_name: "snap_{{item}}"
186163
description: "snap named {{item}}"
@@ -206,9 +183,7 @@
206183
hostname: '{{ vcenter_hostname }}'
207184
username: '{{ vcenter_username }}'
208185
password: '{{ vcenter_password }}'
209-
datacenter: "{{ dc1 }}"
210186
name: "{{ virtual_machines[0].name }}"
211-
folder: "{{ virtual_machines[0].folder }}"
212187
state: revert
213188
snapshot_id: "{{ item.snapshot_id }}"
214189
loop: "{{ snapshot_ids }}"
@@ -230,9 +205,7 @@
230205
hostname: '{{ vcenter_hostname }}'
231206
username: '{{ vcenter_username }}'
232207
password: '{{ vcenter_password }}'
233-
datacenter: "{{ dc1 }}"
234208
name: "{{ virtual_machines[0].name }}"
235-
folder: "{{ virtual_machines[0].folder }}"
236209
state: absent
237210
snapshot_id: "{{ item.snapshot_id }}"
238211
loop: "{{ snapshot_ids }}"

0 commit comments

Comments
 (0)