diff options
author | Gonéri Le Bouder <goneri@lebouder.net> | 2019-05-16 09:36:48 -0400 |
---|---|---|
committer | Gonéri Le Bouder <goneri@lebouder.net> | 2019-05-23 17:40:19 -0400 |
commit | 6bb21c3db0bbaaa31aef09b6e5971e83a1f016df (patch) | |
tree | fdae4329d2d7ead8a0afdfb7059b93cf7bcecb7f /test/integration/targets/vmware_guest_disk_facts | |
parent | 4adb7cfb5f5e04aca29c7fd95f52e48901629c86 (diff) | |
download | ansible-6bb21c3db0bbaaa31aef09b6e5971e83a1f016df.tar.gz |
vmware: test-refactoring
- In order to keep the integration with `ansible-test`, we prefer to avoid any
interaction with the Ansible inventory file.
- split up the prepare_vmware_tests/defaults/main.yml in two
configuration files: one for vcsim and one for a real environment
- remove all the access to hostvars
- directly interact with the ESXi to mount/umount the datastore
https://github.com/ansible/ansible/pull/56516
- record the virtual machine folder in the environment configuration
- vmware_guest_move: Use https://github.com/ansible/ansible/pull/55237
Diffstat (limited to 'test/integration/targets/vmware_guest_disk_facts')
-rw-r--r-- | test/integration/targets/vmware_guest_disk_facts/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/targets/vmware_guest_disk_facts/tasks/main.yml b/test/integration/targets/vmware_guest_disk_facts/tasks/main.yml index d1e0790937..58c6541609 100644 --- a/test/integration/targets/vmware_guest_disk_facts/tasks/main.yml +++ b/test/integration/targets/vmware_guest_disk_facts/tasks/main.yml @@ -16,7 +16,7 @@ hostname: '{{ vcenter_hostname }}' username: '{{ vcenter_username }}' password: '{{ vcenter_password }}' - name: "{{ infra.vm_list[0] }}" + name: "{{ virtual_machines[0].name }}" datacenter: '{{ dc1 }}' register: disk_facts |