From 66550cd3c27cd1bb72c46a573d055803e7d8f1f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A9ri=20Le=20Bouder?= Date: Wed, 8 Jan 2020 10:52:18 -0500 Subject: [PATCH] vmware_guest/test: create test vm in correct directory Ensure we already create the `test_vm3` VM in the `{{ f0 }}` directory. This to be sure the teardown playbook will be able to clean it up at the end. This to avoid problem like this one: ``` Multiple virtual machines with same name [test_vm3] found, Folder value is a required parameter to find uniqueness of the virtual machine ``` --- test/integration/targets/vmware_guest/tasks/cdrom_d1_c1_f0.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/targets/vmware_guest/tasks/cdrom_d1_c1_f0.yml b/test/integration/targets/vmware_guest/tasks/cdrom_d1_c1_f0.yml index 08ea703cde4..467cf25d1a3 100644 --- a/test/integration/targets/vmware_guest/tasks/cdrom_d1_c1_f0.yml +++ b/test/integration/targets/vmware_guest/tasks/cdrom_d1_c1_f0.yml @@ -114,7 +114,7 @@ hostname: "{{ vcenter_hostname }}" username: "{{ vcenter_username }}" password: "{{ vcenter_password }}" - folder: vm + folder: "{{ f0 }}" name: test_vm3 datacenter: "{{ dc1 }}" cluster: "{{ ccr1 }}"