diff --git a/test.yml b/test.yml deleted file mode 100644 index 151bb623..00000000 --- a/test.yml +++ /dev/null @@ -1,36 +0,0 @@ ---- -- hosts: localhost - gather_facts: false - vars: - export_vm_as_ovf_vm_name: mmtest-guest-info-{{ e }} - vcenter_datacenter: Eco-Datacenter - tasks: - - name: foo - block: - - name: Create Test VM - community.vmware.vmware_guest: - validate_certs: false - name: "{{ export_vm_as_ovf_vm_name }}" - state: poweredoff - folder: "/{{ vcenter_datacenter }}/vm/e2e-qe" - datacenter: "{{ vcenter_datacenter }}" - disk: - - size_gb: 5 - type: thick - autoselect_datastore: True - hardware: - memory_mb: 2000 - num_cpus: 2 - guest_id: rhel9_64Guest - - - name: Wait For VM To Be Created - vmware.vmware.guest_info: - validate_certs: false - name: "{{ export_vm_as_ovf_vm_name }}" - register: _wait_for_vm - always: - - name: Delete - community.vmware.vmware_guest: - validate_certs: false - name: "{{ export_vm_as_ovf_vm_name }}" - state: absent diff --git a/tests/integration/targets/vmware_ops_provision_vm_test/tasks/post_update_settings_validation.yml b/tests/integration/targets/vmware_ops_provision_vm_test/tasks/post_update_settings_validation.yml index 408e176d..47e95ed0 100644 --- a/tests/integration/targets/vmware_ops_provision_vm_test/tasks/post_update_settings_validation.yml +++ b/tests/integration/targets/vmware_ops_provision_vm_test/tasks/post_update_settings_validation.yml @@ -42,10 +42,10 @@ - name: Get VM Guest Name community.vmware.vmware_vm_info: - vcenter_hostname: "{{ vcenter_hostname }}" - vcenter_username: "{{ vcenter_username }}" - vcenter_password: "{{ vcenter_password }}" - vcenter_validate_certs: "{{ provision_vm_validate_certs }}" + hostname: "{{ vcenter_hostname }}" + username: "{{ vcenter_username }}" + password: "{{ vcenter_password }}" + validate_certs: "{{ provision_vm_validate_certs }}" vm_name: "{{ vm_update_name }}" register: guest_name_info