diff options
author | Abhijeet Kasurde <akasurde@redhat.com> | 2017-07-21 18:12:43 +0200 |
---|---|---|
committer | jctanner <tanner.jc@gmail.com> | 2017-07-21 18:12:43 +0200 |
commit | ede82e21307969da4acf82e05ef9f8a542f19795 (patch) | |
tree | 785e5099346fe5d13b841447a3902b2923ebd31d /test/integration/targets/vmware_guest_find/tasks | |
parent | Don't need to convert cmd to bytes as it is already an array of bytes (diff) | |
download | ansible-ede82e21307969da4acf82e05ef9f8a542f19795.tar.xz ansible-ede82e21307969da4acf82e05ef9f8a542f19795.zip |
Implement vmware_argument_spec for required params (#25731)
Without the fix hostname, username and password params
used to skip required check.
Fixes #25696
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Diffstat (limited to 'test/integration/targets/vmware_guest_find/tasks')
-rw-r--r-- | test/integration/targets/vmware_guest_find/tasks/main.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/integration/targets/vmware_guest_find/tasks/main.yml b/test/integration/targets/vmware_guest_find/tasks/main.yml index 43ddcd3bc3..14c9903806 100644 --- a/test/integration/targets/vmware_guest_find/tasks/main.yml +++ b/test/integration/targets/vmware_guest_find/tasks/main.yml @@ -8,14 +8,27 @@ vcsim: "{{ lookup('env', 'vcenter_host') }}" - debug: var=vcsim +- name: wait for flask server + wait_for: + host: "{{ vcsim }}" + port: 5000 + state: started + - name: kill vcsim uri: url: "{{ 'http://' + vcsim + ':5000/killall' }}" + - name: start vcsim uri: url: "{{ 'http://' + vcsim + ':5000/spawn?cluster=2' }}" register: vcsim_instance +- name: wait for vcsim server + wait_for: + host: "{{ vcsim }}" + port: 443 + state: started + - name: get a list of VMS from vcsim uri: url: "{{ 'http://' + vcsim + ':5000/govc_find?filter=VM' }}" |