diff options
author | Abhijeet Kasurde <akasurde@redhat.com> | 2017-11-06 21:58:15 +0530 |
---|---|---|
committer | ansibot <ansibot@users.noreply.github.com> | 2017-11-06 11:28:15 -0500 |
commit | c11c882345941332984d268fc54f6cbbae25df83 (patch) | |
tree | 2e1062c6e9eb32850c58540dec679528c4a7dd94 /test/integration/targets/vmware_guest_find | |
parent | 28b86b11485444d2dd46ed60dc8ae27fd2b81303 (diff) | |
download | ansible-c11c882345941332984d268fc54f6cbbae25df83.tar.gz |
Update vmware integration tests (#31273)
* Boilerplat fixed
* Standardized vcsim variables in all modules
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Diffstat (limited to 'test/integration/targets/vmware_guest_find')
-rw-r--r-- | test/integration/targets/vmware_guest_find/tasks/main.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/integration/targets/vmware_guest_find/tasks/main.yml b/test/integration/targets/vmware_guest_find/tasks/main.yml index 70dad2ae50..fe6bc68515 100644 --- a/test/integration/targets/vmware_guest_find/tasks/main.yml +++ b/test/integration/targets/vmware_guest_find/tasks/main.yml @@ -1,5 +1,5 @@ # Test code for the vmware_guest_find module. -# (c) 2017, James Tanner <tanner.jc@gmail.com> +# Copyright: (c) 2017, James Tanner <tanner.jc@gmail.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) - name: make sure pyvmomi is installed @@ -21,11 +21,11 @@ - name: kill vcsim uri: - url: "{{ 'http://' + vcsim + ':5000/killall' }}" + url: http://{{ vcsim }}:5000/killall - name: start vcsim uri: - url: "{{ 'http://' + vcsim + ':5000/spawn?cluster=2' }}" + url: http://{{ vcsim }}:5000/spawn?cluster=2 register: vcsim_instance - name: wait for vcsim server @@ -36,7 +36,7 @@ - name: get a list of VMS from vcsim uri: - url: "{{ 'http://' + vcsim + ':5000/govc_find?filter=VM' }}" + url: http://{{ vcsim }}:5000/govc_find?filter=VM register: vmlist - debug: var=vcsim_instance @@ -76,7 +76,7 @@ # Testcase 2: Find VMS using UUID - name: get details about VMS from vcsim uri: - url: "{{ 'http://' + vcsim + ':5000/govc_vm_info' }}" + url: http://{{ vcsim }}:5000/govc_vm_info register: vms_detail_list - name: find folders for each vm using UUID |