prepare_vmware_tests: add scenario with one ESXi

Add the ability to test with just one vcenter instance and a single
ESXi. This allow us to cover 90 modules.
pull/65976/head
Gonéri Le Bouder 5 years ago
parent b31b5d105a
commit 8d6b9cf6e0

@ -10,9 +10,13 @@
include_vars:
file: vcenter_only.yml
- when: esxi1_hostname is defined and esxi2_hostname is not defined
include_vars:
file: vcenter_1esxi.yml
- when: esxi1_hostname is defined and esxi2_hostname is defined
include_vars:
file: vcenter_with_2_nodes.yml
file: vcenter_2esxi.yml
- when: vcsim is not defined
include_tasks: init_real_lab.yml

@ -0,0 +1,32 @@
---
esxi_hosts:
- esxi1.test
rw_datastore: rw_datastore
ro_datastore: ro_datastore
esxi_password: '{{ esxi1_password }}'
infra:
datastores:
rw_datastore:
type: nfs
server: datastore.test
path: /srv/share/vms
ro: false
ro_datastore:
type: nfs
server: datastore.test
path: /srv/share/isos
ro: true
virtual_machines:
- name: DC0_H0_VM0
folder: '{{ f0 }}'
- name: DC0_H0_VM1
folder: '{{ f0 }}'
virtual_machines_in_cluster:
- name: DC0_C0_RP0_VM0
folder: '{{ f0 }}'
cluster: '{{ ccr1 }}'
- name: DC0_C0_RP0_VM1
folder: '{{ f0 }}'
cluster: '{{ ccr1 }}'
cluster_tag: test_cluster_tag_0001
cluster_category: test_cluster_cat_0001

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -2,3 +2,4 @@ shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -2,3 +2,4 @@ shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -2,3 +2,4 @@ shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -2,3 +2,4 @@ shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -13,7 +13,7 @@
username: "{{ vcenter_username }}"
password: "{{ vcenter_password }}"
state: present
esxi_hostname: '{{ esxi2 }}'
esxi_hostname: '{{ esxi1 }}'
validate_certs: no
register: test_result_0001
@ -30,7 +30,7 @@
username: "{{ vcenter_username }}"
password: "{{ vcenter_password }}"
state: present
esxi_hostname: '{{ esxi2 }}'
esxi_hostname: '{{ esxi1 }}'
validate_certs: no
register: test_result_0002
@ -47,7 +47,7 @@
username: "{{ vcenter_username }}"
password: "{{ vcenter_password }}"
state: absent
esxi_hostname: '{{ esxi2 }}'
esxi_hostname: '{{ esxi1 }}'
validate_certs: no
register: test_result_0003
@ -64,7 +64,7 @@
username: "{{ vcenter_username }}"
password: "{{ vcenter_password }}"
state: absent
esxi_hostname: '{{ esxi2 }}'
esxi_hostname: '{{ esxi1 }}'
validate_certs: no
register: test_result_0004

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,4 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -2,3 +2,4 @@ shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -2,3 +2,4 @@ shippable/vcenter/group1
shippable/vcenter/smoketest
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -2,3 +2,4 @@ shippable/vcenter/group1
shippable/vcenter/smoketest
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_1esxi

Loading…
Cancel
Save