1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

bump version of 'vcenter-test-container' to '1.3.0' (govmomi v0.18.0) (#41151)

* leave vmware_guest_powerstate tests enabled, but revert changes from: 66743f33
* leave VM poweroff tests enabled, but revert changes from: 87d6bdaf
* bumped 'vcenter-test-container' version to '1.3.0'
* updated test task names based on PR feedback
This commit is contained in:
Deric Crago 2018-06-06 11:24:21 -04:00 committed by Matt Clay
parent f61164406e
commit ba848e018c
5 changed files with 16 additions and 12 deletions

View file

@ -45,7 +45,8 @@
- debug: var=poweroff_d1_c1_f0 - 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: assert:
that: that:
- "poweroff_d1_c1_f0.results|map(attribute='changed')|unique|list == [False]" - "poweroff_d1_c1_f0.results|map(attribute='changed')|unique|list == [True]"

View file

@ -56,7 +56,8 @@
- debug: var=poweroff_d1_c1_f1 - 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: assert:
that: that:
- "poweroff_d1_c1_f1.results|map(attribute='changed')|unique|list == [False]" - "poweroff_d1_c1_f1.results|map(attribute='changed')|unique|list == [True]"

View file

@ -45,7 +45,8 @@
- debug: var=poweroff_d1_c1_f0 - 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: assert:
that: that:
- "poweroff_d1_c1_f0.results|map(attribute='changed')|unique|list == [False]" - "poweroff_d1_c1_f0.results|map(attribute='changed')|unique|list == [True]"

View file

@ -56,7 +56,8 @@
- debug: var=poweroff_d1_c1_f1 - 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: assert:
that: that:
- "poweroff_d1_c1_f1.results|map(attribute='changed')|unique|list == [False]" - "poweroff_d1_c1_f1.results|map(attribute='changed')|unique|list == [True]"

View file

@ -43,7 +43,7 @@ class VcenterProvider(CloudProvider):
if os.environ.get('ANSIBLE_VCSIM_CONTAINER'): if os.environ.get('ANSIBLE_VCSIM_CONTAINER'):
self.image = os.environ.get('ANSIBLE_VCSIM_CONTAINER') self.image = os.environ.get('ANSIBLE_VCSIM_CONTAINER')
else: 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 = '' self.container_name = ''
def filter(self, targets, exclude): def filter(self, targets, exclude):