diff --git a/test/integration/targets/vmware_guest/tasks/poweroff_d1_c1_f0.yml b/test/integration/targets/vmware_guest/tasks/poweroff_d1_c1_f0.yml index 4f0295325f2..da0263640d8 100644 --- a/test/integration/targets/vmware_guest/tasks/poweroff_d1_c1_f0.yml +++ b/test/integration/targets/vmware_guest/tasks/poweroff_d1_c1_f0.yml @@ -22,7 +22,7 @@ port: 443 state: started -- name: get a list of VMS from vcsim +- name: get a list of VMS from vcsim uri: url: http://{{ vcsim }}:5000/govc_find?filter=VM register: vmlist @@ -45,7 +45,8 @@ - debug: var=poweroff_d1_c1_f0 -- name: make sure no changes were made +# vcsim (v0.18.0) VMs are spawned PoweredOn +- name: make sure changes were made assert: that: - - "poweroff_d1_c1_f0.results|map(attribute='changed')|unique|list == [False]" + - "poweroff_d1_c1_f0.results|map(attribute='changed')|unique|list == [True]" diff --git a/test/integration/targets/vmware_guest/tasks/poweroff_d1_c1_f1.yml b/test/integration/targets/vmware_guest/tasks/poweroff_d1_c1_f1.yml index d2c04e3f91b..9049aaba46d 100644 --- a/test/integration/targets/vmware_guest/tasks/poweroff_d1_c1_f1.yml +++ b/test/integration/targets/vmware_guest/tasks/poweroff_d1_c1_f1.yml @@ -27,7 +27,7 @@ port: 443 state: started -- name: get a list of VMS from vcsim +- name: get a list of VMS from vcsim uri: url: http://{{ vcsim }}:5000/govc_find?filter=VM register: vmlist @@ -36,7 +36,7 @@ - debug: var=vmlist # https://github.com/ansible/ansible/issues/25011 -# Sending "-folders 1" to vcsim nests the datacenter under +# Sending "-folders 1" to vcsim nests the datacenter under # the folder so that the path prefix is no longer /vm # # /F0/DC0/vm/F0/DC0_H0_VM0 @@ -56,7 +56,8 @@ - debug: var=poweroff_d1_c1_f1 -- name: make sure no changes were made +# vcsim (v0.18.0) VMs are spawned PoweredOn +- name: make sure changes were made assert: that: - - "poweroff_d1_c1_f1.results|map(attribute='changed')|unique|list == [False]" + - "poweroff_d1_c1_f1.results|map(attribute='changed')|unique|list == [True]" diff --git a/test/integration/targets/vmware_guest_powerstate/tasks/poweroff_d1_c1_f0.yml b/test/integration/targets/vmware_guest_powerstate/tasks/poweroff_d1_c1_f0.yml index 0c59a1e857f..922233090de 100644 --- a/test/integration/targets/vmware_guest_powerstate/tasks/poweroff_d1_c1_f0.yml +++ b/test/integration/targets/vmware_guest_powerstate/tasks/poweroff_d1_c1_f0.yml @@ -45,7 +45,8 @@ - debug: var=poweroff_d1_c1_f0 -- name: make sure no changes were made +# vcsim (v0.18.0) VMs are spawned PoweredOn +- name: make sure changes were made assert: that: - - "poweroff_d1_c1_f0.results|map(attribute='changed')|unique|list == [False]" + - "poweroff_d1_c1_f0.results|map(attribute='changed')|unique|list == [True]" diff --git a/test/integration/targets/vmware_guest_powerstate/tasks/poweroff_d1_c1_f1.yml b/test/integration/targets/vmware_guest_powerstate/tasks/poweroff_d1_c1_f1.yml index 51af09dccd6..f3e611cdc2f 100644 --- a/test/integration/targets/vmware_guest_powerstate/tasks/poweroff_d1_c1_f1.yml +++ b/test/integration/targets/vmware_guest_powerstate/tasks/poweroff_d1_c1_f1.yml @@ -56,7 +56,8 @@ - debug: var=poweroff_d1_c1_f1 -- name: make sure no changes were made +# vcsim (v0.18.0) VMs are spawned PoweredOn +- name: make sure changes were made assert: that: - - "poweroff_d1_c1_f1.results|map(attribute='changed')|unique|list == [False]" + - "poweroff_d1_c1_f1.results|map(attribute='changed')|unique|list == [True]" diff --git a/test/runner/lib/cloud/vcenter.py b/test/runner/lib/cloud/vcenter.py index 2dc10f7a84b..ab9253726ac 100644 --- a/test/runner/lib/cloud/vcenter.py +++ b/test/runner/lib/cloud/vcenter.py @@ -43,7 +43,7 @@ class VcenterProvider(CloudProvider): if os.environ.get('ANSIBLE_VCSIM_CONTAINER'): self.image = os.environ.get('ANSIBLE_VCSIM_CONTAINER') else: - self.image = 'quay.io/ansible/vcenter-test-container:1.2.0' + self.image = 'quay.io/ansible/vcenter-test-container:1.3.0' self.container_name = '' def filter(self, targets, exclude):